The mint of Linux **
U can add easily
The mint of Linux **
Using django modlew
The mint of Linux **
Models
Anonymous
Hai
Anonymous
I want to create dashboard
Anonymous
How can I
Anonymous
Is there any library
The mint of Linux **
How can I
Create different template
The mint of Linux **
Which will be renders after login
Anonymous
Template is ok
Anonymous
How can I
Anonymous
Bokeh alternative
The mint of Linux **
Sorry??
The mint of Linux **
Bokeh alternative
Can't get u
Anonymous
Any inbuilt or package is available for dashboard in django
Anonymous
I mean that
The mint of Linux **
No no
Anonymous
No no
So how bro
The mint of Linux **
To build
Not for dashboard as far I know
The mint of Linux **
So how bro
Why not bro?
Anonymous
Why not bro?
Interactions dashboards in which language it will be done
The mint of Linux **
It's possible...use a custom template with custom form and display logged in user there...take a user input image and display there
Anonymous
Pie diagrams and bar diagram
The mint of Linux **
Pie diagrams and bar diagram
I don't know about them
The mint of Linux **
Never used
Anonymous
Ok bro
Alberto
Hi there, I just posted an issue I'm facing on Django, if you could take a look at it and try to help me would be awesome. https://stackoverflow.com/questions/63888985/xml-rpc-server-api-with-django
Aamir
hello i need help, i am new in Django and i am not able to display image that i had set in my img src
Aamir
please can anyone help me to solve this problem
محمد دلشاد
hastebin your code maybe i can help
Anonymous
when U start app Do u start with model.py then forms.py then url.py then view I know it will depend on programmer method but which one is the best way
محمد دلشاد
when U start app Do u start with model.py then forms.py then url.py then view I know it will depend on programmer method but which one is the best way
your approach is very right on my opinion bcs first of all plan then proceed to models forms and then url+views+templates
Hi, I’m asking about constance config, is there a way to use it inside ‘settings.py’ or ‘base.py’? which is the same file that has ‘CONSTANCE_CONFIG’. Because I want some settings to be dynamic
How to do that?
Mirco
How to do that?
By putting the constance config inside settings.py
By putting the constance config inside settings.py
I already tried that, unfortunately it didn’t help in my case. I got this error: “django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.”
Mirco
Create a config.py file, do your magic there and import that file from settings.py
No need it I work every day with constance and I have constance config into the base settings without any issue
I already tried that, unfortunately it didn’t help in my case. I got this error: “django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.”
I have another approach, by configuring what I want at runtime when the server starts. But where should I type it? Is there a place like an endpoint or a function that executed automatically after server starts? So I can type anything I want at starting.
The error raised by Django is clear, you are looking for a useless workaround
It doesn’t make sense for me because SECRET_KET is not empty. Only appears when I type config inside settings
Mirco
Share the code and you will receive more help
Mirco
I will try that. Thanks
It's just a workaround, I use constance config into settings without issues and everything works like a charm
I have another approach, by configuring what I want at runtime when the server starts. But where should I type it? Is there a place like an endpoint or a function that executed automatically after server starts? So I can type anything I want at starting.
I think it’s fine if I use it in any endpoint like “user login” for example, but it doesn't look right because I just need it once after server started (runtime). If any one have ideas appreciated.
Armstrong
hello im trying retreive data from pixabay api with django ...i'm stucked.
Armstrong
please these are the info i have..but i'm stucked
Armstrong
This is the api documentation: https://pixabay.com/api/docs/
Armstrong
this is my view.py file
NXiss7
No need it I work every day with constance and I have constance config into the base settings without any issue
Yes, not "required" but it may help him find the problem, I don't use seperate file neither.
Bunty chhatri wala..
this is my view.py file
Share the code via pastebin or any other site
Armstrong
Ok
enansi
Which is the better way to do a custom user/profile in Django? (1) Extend AbstractBaseUser or (2) keep the standard auth_user, and then have a 1:1 model called "Profile" with all the custom fields you want??
cj
Which is the better way to do a custom user/profile in Django? (1) Extend AbstractBaseUser or (2) keep the standard auth_user, and then have a 1:1 model called "Profile" with all the custom fields you want??
this old but still gold post will help you a lot with that question https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html
R.U.S.H.A.B.H
My image is not loading in html
R.U.S.H.A.B.H
From model I just passed object from views to html and printed in img src tag with url
R.U.S.H.A.B.H
But it's not appearing
Prateek
But it's not appearing
Where you are saving images
Prateek
Can anyone help me with RSS as I want to wrap html into it but getting error on server please help me
M
my object has 3 attributes ..name , value and color. how can i pass this object in template from view and access it ? any one can help ?
M
i passed by key:object but seems like template doesn;t lnow the object definition and now showing anything
M
https://pastebin.com/XXzy0L7g
M
object is mon which i am passing and trying to access inside
bot
Hello everyone
bot
I have just started working on django and I need help🙏
Anonymous
Hai, anyone can please me to currency convertor process in rest Api in django
bot
My_site says it hasn't any module named my_app
Anonymous
Hai
Anonymous
Anyone please help me how to convert currency in restapi
bot
Anyone there??
Nikhil
My_site says it hasn't any module named my_app
did u added your app in INSTALLED_APPS in settings.py