Ivan
please i am trying to do a
Ivan
i want to create an API with django to do text recon. (Image to text). please any one can help ??
Ivan
Like to tell me what library i can use
DaNi
Hi everyone. i have put my files in the cpanel but problem i am facing is when i set the debug=false then all site stop working when debug=true then site start working. i get error 500
Odomus
i am having some issue with submitting form of ckeditor5field in the views.
Mirco
No problem
Odomus
it works fine with the admin panel but isn't working when i am trying to submit the form using the same form in the views
Odomus
anyone?
Moral Mind
Hello guys I'm doing python internship I'm new to this so can anyone help me like how to set a rule in visual studio code like enter a valid email address and enter a valid phone number pop up in django webpage
Mirco
anyone?
You have to share code with pastebin or similar
Joseph 🇬🇭
Hi, building an inventory management web app. Is there any Django app I can use for re-order level alerts?
mohmed ahmed
I would like a django project please full stack
mohmed ahmed
I want any small project
Doragonsureiyā
I want any small project
So, why don't you do it yourself first? When you have an issue with the Python code you wrote, come back here and people will help you 😉
Doragonsureiyā
I already have a project, but it has some errors
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase.
ㅤ
Hello Can I use Django Front End only and share it for everyon or use it for Back End?
ㅤ
django is for backend
Ok, thank u so much
Alex
Hello Can I use Django Front End only and share it for everyon or use it for Back End?
both,you can use django just for rendering but that doesn't make much sense to do so.
Odomus
make sure enctype="multipart/form-data" isn't missing in the form.
thanks it is working now i had to add some code in the form
Joseph 🇬🇭
Hi, does anyone know how to perform an auto fill for one field when i input data in another field? For example input data in a price field, then the total field is automatically filled.
Eben
I hosted my project on Pythonanywhere and the admin panel is rendered like a plain html with no css. anyway to fix it ?
Soham
I hosted my project on Pythonanywhere and the admin panel is rendered like a plain html with no css. anyway to fix it ?
This will be most probably a static file issue, use python manage.py collectstatic command and still it doesn't work then read this blog https://www.digitalocean.com/community/tutorials/working-with-django-templates-static-files
Eben
Thanks
Bilal
hey guys i am currently working on a chat application with django it is almost complete but the problem is that when i run the: python manage.py runserver command and then see the result it can not actually send and show messages i have searched about it and then i found daphne and with daphne it is now working but i want to run it with runserver command how can i do that???
PΛRSΛM
hey im trying to edit user info but image field is none dpaste.org/eyrhZ
Bilal
If you are using websocket , how are you going to run it with wsgi
But when I run it with daphne My admin panel looks very bad I mean no styling ??
@u_one23
But when I run it with daphne My admin panel looks very bad I mean no styling ??
You mean in server , if so , you should let server know where your static files are
PΛRSΛM
Can you explain a little bit more?
It is an information editing form, all information is saved, but the photo value is none when i print cleaned data
Circuit
I got a problem! I working on django project and i used ngrok so that i can reach the site outside of my local network and it’s not possible why!? The error message tells me the user isn’t authorized which kinda get me bothered ‘cause I didn’t protect the route for authorization!
Fatemeh
Hi do know error 1146 for mysql-workbench in django?
հօรรεiռ
Hi do know error 1146 for mysql-workbench in django?
Hi Is there just error code No details?
հօรรεiռ
hey im trying to edit user info but image field is none dpaste.org/eyrhZ
Hey In post method When u initial form class U should pass request.FILES too files=request.FILES
Georg
hi
Georg
is it possible to mark migrations as fake inside a migration file?
clouded
is it possible to mark migrations as fake inside a migration file?
What do you expect to happen with a fake migration?
Georg
I expect that a migration graph is changed, but no SQL commands actually executed
Georg
there is one annoying change with a ForeignObject field. It is breaks my migrate procedure
Georg
forget it)))) I solved)))
Fatemeh
Hi Is there just error code No details?
"Table 'new_core-product' dose not exist" It is error
հօรรεiռ
"Table 'new_core-product' dose not exist" It is error
Probably u forget python manage.py makemigrations python manage.py migrate
Sing
Is there a way to implement async function in side django api which should execute in background but response has to be send back immediately.
հօรรεiռ
Do it but do not ok
Did u run Make migrations?
Sing
In Api level any thing we can implement ?
Smart Life
Do you know about this training package? Pip install environs [ 'django']
Sing
Let me elobarate my use case I want to store some data using post after that i want trigger push notifications parallely in same api in background but i want to give response after storing data without waiting to completed this push notification trigger
Sing
Can you help me to do this @all
Sing
Ok can you please share any reference piece of code or any artical
հօรรεiռ
Ok can you please share any reference piece of code or any artical
For sure https://docs.celeryq.dev/en/stable/django/first-steps-with-django.html
Sing
But i have to run two servers right 1 for django Other for celery worker
հօรรεiռ
But my TL said to do with one server
It needs 1 server You mean service?
Vitaly
And Nginx to root them all
Smart Life
Do you know about this training package? Pip install environs [ 'django']
Charly
Do you know about this training package? Pip install environs [ 'django']
Training? Did you even googled it? https://pypi.org/project/environs/#usage-with-django
Ak
Does any body have deails about react django channels implementation for chat app
MUHAMMED
Is it possible to decrypt the password stored on database by using django password hashing set_password
Ak
What details you need?
Can i have documentation not django channels docs ,about chat would be nice
Ak
Have you done some research?
Yes but connection withbreact side is lacking doubt
Charly
Yes but connection withbreact side is lacking doubt
Well in this group we don't discuss react or fronted stuff, but first Google result: https://blog.logrocket.com/build-chat-application-react-django-channels/