Kola
if you turn on the classic settings and it will work. means a syntax error
Doragonsureiyā
Did someone implement rangefilter on Django + Jet?
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
lucky
How i'm to integrate django form with dropzone.
Marc
How i'm to integrate django form with dropzone.
https://www.youtube.com/watch?v=jUtCtlCRAT4
Jayashree
Hello, I have 2 DB, main and another dynamic. The main DB will connect to another DB during runtime. So I'm using management.call() I have added a new column in the model and tried to run migrate using management.call(). But if I provide the app name it will not migrate. It will give an error; unknown column 'brand.status' in filed list.   How can I solve this issue?
Sangam Suryawanshi
Hi everyone can you help me in a small query
Sangam Suryawanshi
I want to add a default static field to a drop-down list in forms.py
Sangam Suryawanshi
How can I add that static field to drop-down
floodlit_torte
Hi, I want to deploy my first Django project, can you recommend any free servers??
Михаил
pythonanywhere
name
hi guys , can I know somehow which form field doesn't pass the is_valid check ?
floodlit_torte
Thank you!
Rahat
Tell me bro point value increment in drf
Rahat
From user id match
Doragonsureiyā
Tell me bro point value increment in drf
To get an answer to your question, it is worth to formulate it more clearly, perhaps add more details, perhaps add explanations.
Vinay
Needed help with Django ASGI/channel connectivity. Unable to switch for Django development server to ASGI/channels Any suggestions how should I go for it
Vinay
No one can help you until you explain your difficulties.
Difficulty is that I am not able to switch my server for development to ASGI-channels
cj
Difficulty is that I am not able to switch my server for development to ASGI-channels
did you read channels docs on how to do that? because it's clearly explained there step by step
Kola
who knows. why does it give an error in def files not found. but everything is correct in the root file?
Vinay
why?
I followed all step For editing WSGI_APPLICATION = 'mysite.wsgi.application' to ASGI_APPLICATION = 'mysite.asgi.application'
Vinay
Okay
Jal ⬡
Hello guys, I have a question, I deployed a project made in django in pythonanywhere and everything was perfect, after a while I realized that I left the debug in True and when I changed it to false everything was still working but it did not load the styles and the page or the admin......delete the project and with the debug set to False I cloned the repo to the server again and this time run the collectstatic, the problem remains the same...can someone help me or tell me why this is happening ? In my settings it is configured like this: STATIC_TEMP = os.path.join(BASE_DIR, 'static') STATIC_URL = '/static/' os.makedirs(STATIC_TEMP, exist_ok=True) os.makedirs(STATIC_ROOT, exist_ok=True) MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
Cutiepaiangelanu
when i run migrate i got this error
Cutiepaiangelanu
i removeds ocatid but still i got error
Cutiepaiangelanu
https://dpaste.org/1bah3
Cutiepaiangelanu
i want to migrate it
Cutiepaiangelanu
but got error
Cutiepaiangelanu
https://dpaste.org/YuvtB
V
I got same issue bro, then I'm solve the problem , you can do html file in static link % symbols too given extra spaces , it's not working css properly as check once in css of Template variables in html file
sᴀɪᴅᴋᴏᴍɪʟ
http://xyproblem.info/
The community isn't good as this, I can even say it is not good any
Darel
Anyone knows how to server Django media files in production on a cpanel ?
Darel
Move your media files to public html
I did that but they don't load on the when I serve them using url
0x01
I did that but they don't load on the when I serve them using url
Do you have your media files inside your static folder or your project folder?
Darel
Do you have your media files inside your static folder or your project folder?
No ,all media files are uploaded to a media folder in public html
0x01
No ,all media files are uploaded to a media folder in public html
Inspect your image to see the path and work your way around it
Doragonsureiyā
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Georg
Hello. I just renamed a model but django going to drop table and create another... How to prevent deletion ?
Georg
sure
Morteza
Django has a RenameModel class to do it
Morteza
https://docs.djangoproject.com/en/3.0/ref/migration-operations/#renamemodel
Georg
yeah, thanks
Morteza
your welcome
Noddy
Yes
Management.call() to migrate directly??
Jayashree
Management.call() to migrate directly??
When we are connecting to another db during runtime I'm using this method.
Никита
Hello, I wanna know should channel-redis enable redis server as background process at port specified in my settings file, when I start my application to serve websocket connection? And anybody has manual for deploying application with changing ws protocol to wss. Can anybody show configs of Nginx, supervisor and application’s settings of his project with configuration above?
Deo
Hello Is it good practice to have react running the frontend and django the backend?
Charly
Hello Is it good practice to have react running the frontend and django the backend?
you can't do the opposite so yes tou can say it's a good practice
Deo
😂 thanks
abhishek
Is anyone here who can help me for elastic search??
abhishek
For the topic of completion suggester
Doragonsureiyā
Is anyone here who can help me for elastic search??
No one can help you until you explain your difficulties.
abhishek
If is the django part yes
Yes it's an django part only
Charly
Yes it's an django part only
Well then explain the issue, we are not magicians
abhishek
http://localhost:8000/search/suggest?firstname_suggest__completion=A
abhishek
See if I type this url it's showing like 404 error but I have imported and referred one document and done as according to that
abhishek
Imported the Suggesterfilterbackends
abhishek
Show your urls
As according to the rules sending media is not allowed in this group
abhishek
The option is not coming here
abhishek
Like sending media is'nt allowed in this group it's showing
abhishek
READ THE RULES
About what you're saying I am not getting about that
Charly
About what you're saying I am not getting about that
Read the rules to know how to share code