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
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?
sᴀɪᴅᴋᴏᴍɪʟ
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 ?
Sharma
👑 Dharmzeey
floodlit_torte
Thank you!
Rahat
Tell me bro point value increment in drf
Rahat
From user id match
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
Doragonsureiyā
Maxim
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'
cj
cj
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')
cj
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
Mirco
Darel
Anyone knows how to server Django media files in production on a cpanel ?
0x01
Darel
Darel
0x01
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 ?
Morteza
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
Jayashree
Noddy
Jayashree
Noddy
Yes
Management.call() to migrate directly??
Никита
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
Deo
😂 thanks
abhishek
Is anyone here who can help me for elastic search??
abhishek
For the topic of completion suggester
Charly
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
Charly
abhishek
Imported the Suggesterfilterbackends
abhishek
Show your urls
As according to the rules sending media is not allowed in this group
Charly
abhishek
The option is not coming here
abhishek
Like sending media is'nt allowed in this group it's showing
Charly
abhishek
READ THE RULES
About what you're saying I am not getting about that
Charly