Mohit
?
Shubham
Please suggest some django beginner level project for college assignment .
Anonymous
Please suggest some django beginner level project for college assignment .
Go see github https://github.com/search?utf8=✓&q=django+todo&type=
Shubham
Hello guys if you can see this
Shubham
https://github.com/shubham1507/school/blob/master/school/urls.py
Shubham
in which path('login/', LoginView.as_view()),
Shubham
throowing an error
Shubham
If you see valid patterns in the file then the issue is probably caused by a circular import.
Shubham
what might be the problem
Shubham
got it
Shubham
np
Shubham
the error has been resolved
Shubham
path('login/', LoginView.as_view()),
Shubham
was missing views.LoginView
elioni
hey umm
elioni
i need help in my django project
elioni
when i create a user and login the profile doesn't automatically create
elioni
i've tried like a million solutions
elioni
still doesn't work
Anonymous
--version
Mirco
Where
!rules
Doragonsureiyā
Where
Read the rules before any activity: @PythonRules
elioni
Okay
Anonymous
Thanks bro
😁
Sai
Hey I'm getting "failed to read PID file from /run/nginx.pid"
Sai
During nginx and gunicorn implementation
Sai
Systemctl restart nginix
Sai
It is showing the active as a status
Happy
it's ok.
Sai
nginx is not running before did this.
Nginx seems running but shows the above error
Mihail
Hi ✌️Django-developers. I have a question, I need someking of validator, check if to fields are identical Django will not allow to create it, where in the docs can I search it, I need it for REST service
elioni
hey
elioni
umm
elioni
first name and lastname not showing up on django profile
elioni
can you guys help?
Sai
it's ok.
What will be solution because it is not accepting my requests
elioni
?
Happy
Nginx seems running but shows the above error
yes, you use restart option, this will read a pid file, but file does not exist, it ignore the error and just star ngnix.
elioni
can someone help?
Sai
I already done
Happy
Next time you run system restart nginx there will be no errors.
Sai
Why my requests are processed by nginx?
inchidi
first name and lastname not showing up on django profile
wait lah, let me find my crystal ball first 🔮
inchidi
Yes
you can put your validation on your serializer then
Mihail
you can put your validation on your serializer then
you mean rest_framework.validators ?
inchidi
Mihail
no, just write your own
ok, thanks for help
Happy
Why my requests are processed by nginx?
https://www.digitalocean.com/community/tutorials/understanding-nginx-http-proxying-load-balancing-buffering-and-caching
Happy
Why my requests are processed by nginx?
Nginx proxies requests to are known as upstream servers.
Happy
Nginx proxies requests to are known as upstream servers.
An upstream server can be configured with a set of backends.
elioni
Django error: UNIQUE constraint failed: auth_user.username
elioni
this is the error i get
elioni
?
Happy
Gunicorn is a backend implementation.https://gunicorn.org/
Happy
The username must be unique in the table.
Rohan
Django error: UNIQUE constraint failed: auth_user.username
Catch that and return that username must be unique
elioni
but this is a profile model
Rohan
but this is a profile model
Then share your whole code instead of just error
elioni
https://pastebin.com/46hZUZVH
elioni
this is my views.py
elioni
https://pastebin.com/cWNBDNrg
elioni
this is my models.py
elioni
https://pastebin.com/D0c0NiAW
elioni
this is my forms.py
elioni
...
elioni
i need to make it so that when i change another property like first name