レザ
Mirco
It's better to write on Stack Overflow at this point
Mirco
Anyway I don't think you will find more groups, this is the biggest one afaik
Mirco
Hamidreza
Mirco
Search on google SQLAlchemy or Tortoise ORM
Mirco
Django ORM is not the only one in the python world
Armin Habibi
Mirco
Khumoyun
Hello, project: Django 3.1 gunicorn 20.0.4
In my project, I am opening file for write some lines and closing. after some actions I read my file.
This process is working good in my local server.
But in development server can not. It returns 504. my gunicorn service is working good, nginx is also good.
QUESTION: What should I do? any ideas?
P.S: If I restart my gunicorn service, my project working good
Shreehari
Anyone aware of a rich text editor for django admin and stores in json format
Ad
Hello all,
I have a model that stores employee name and created date when a deal is successful. In the list_display() of django admin instead of showing all the objects, I want to display individual employee name and its count in current year.
Ad
I want something like list_display =("employee","count") where count gives the number of objects for that employee created that year
Nick
operation error at /admin/login attempt to write a readonly database hosting
These is error in my hosting site can anyone help me how to solve it?
appu
anybody plzz suggest me an free api
Yuvraj
Sai Kumar
I am python developer I need job
Anonymous
ant one know about django celery
appu
Alex
Doragonsureiyā
ant one know about django celery
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z"
Just ask about your problem directly! With ~80,000 people here, the probability that someone will help is pretty high.
How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Prithi
Getting 405 error in post method anyone help me how to solve
Warlock
can anyone help me with validation of forms and storing in database and relationship between different class models!!
im confused, is there any documentation or and good content for that
Alexey
check official django documentation
Edgar
Hi, can anyone suggest how to select from already existing items in drf?
Now I do it like this:
https://dpaste.org/Z4At
But it seems to me that there is a nicer solution. Moreover, if I need to do this for several models.
Used in such context:
class SomeSerializer...:
users = UserChooseSerializer(many=True)
...
And users is m2m field in some model.
So I want to make queries like:
POST
{
"users": [1, 2, 3, 4]
}
(sry for my English)
Alex
Edgar
Edgar
Alex
Full stack developer (React, Django)
Can anyone suggest me some good django rest API course or a YouTube video?
Michael the wolf 🐺
has anyone worked with the django_mama_cas before ?
Michael the wolf 🐺
I want to know is it possible to change the name of username field in model to email
Full stack developer (React, Django)
マクスイム • グセブ
マクスイム • グセブ
Look for a channel called "Dennis Ivy"
マクスイム • グセブ
I saw basics there, then just improve and look for more information using DRF documentation
Full stack developer (React, Django)
Pratap
Anonymous
Hey guys , i have a little doubt , actually i implemented djangorestframework-simplejwt in my recent project and i want to access admin using my superuser account , but the thing is admin gives invalid credentials error even if usernmae password is right and user is active, superuser and staff as true
Anonymous
Anonymous
Andrej
Anonymous
Anonymous
Else wer it is working fyn
Edgar
https://pastebin.com/tfQHBpJB
something like this one
Oh, this solution doesn't work for me because I need to initialize the m2m field and not just select the ids.
+ I'm using django_tenants and the creation of serializer objects seems to happen before the schema is defined(
Anonymous
Edgar
Nurgazy
Django queryset: cannot filter by current week when USE_TZ is enabled
Arezoo
Hi i have time field in jsonfield.how can i copmare this field with timezone.now while this field in jsonfield is string!
Unknown
Anyone use the CKEDITOR in project ....in templates not in administrator
Doragonsureiyā
Anyone use the CKEDITOR in project ....in templates not in administrator
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z"
Just ask about your problem directly! With ~80,000 people here, the probability that someone will help is pretty high.
How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Eng. Mohamed
Hi all,
I installed
django-autocomplete-light
And it worked fine
When I installed django-ckeditor
django-autocomplete-light stopped working
Any suggestions please to solve this conflict
Ali
Hello
My django site connected to mysql server and im using pycharm , when I delete a row on table , the site still show it ,I need to rerun program from pycharm to detect database changes , how can i have a real time database?
abhijith
Hello i started writing tests.py in my project... It takes a lot of time to create test database... Any solution for the situation
abhijith
abhijith
@pyflare i have started writing tests.py on my current project but while running python manage.py test it takes a lot of time to create and delete the database.... Is there any solution to avoid this time delay
Maltapopoulos 🇲🇹
Maltapopoulos 🇲🇹
I did tests it was very fast
Anonymous
which js framework would work best with django for a fullstack website?
محمد دلشاد
Maltapopoulos 🇲🇹
Maltapopoulos 🇲🇹
But maybe also vue
Anonymous
Can anyone in this group suggest me how to show model objects data of Json file in a table form using Ajax and DataTable
Anonymous
Such that I can select any two table data through checkboxes
Эндри
use djoser. How to set up confirmation via email. Just not through the URL. And through OTP (one-time password). Thank you so much for any advice.
Asaduzzaman
I developed a small project now I deployed on vps server. so i have questions How can I deployed on vps Normally deployed or using docker which prefer you?
Anonymous
Anonymous
How
Nitikesh
Hey I need help I am new to django and mugged up in the difference between querysets and model instances.
Unknown
Can anyone have tutorial how-to upload the in project using templates html form not
Unknown
Django form