Yegor
+ supervisor
docker 🤷‍♂️
Yegor
Yegor
google "gunicorn django nginx"
or if u wanna feel pain, type uwsgi instead of gunicorn
Rohan
Uwsgi works fine too 🤷‍♂
Alexey
In emperor mode
Yegor
Uwsgi works fine too 🤷‍♂
works fine, congugures fine🤷‍♂️
Alexey
I've check with daphe. No problems
Daphne for ws and gunicorn for web.
Yegor
I've check with daphe. No problems
I know that theres no problems with the others
Yegor
for awsgi
cj
Daphne for ws and gunicorn for web.
they recommend Daphne in the docs
Alexander
Next step
Kubernetes 😊
Alexey
Kubernetes 😊
Next-next :)
Dhave
Hi i am new to django, and i am offered to do an app with a 2000usd budget, and this would be my first time developing one with a client after personal project project.
Dhave
How do I start? aside from accepting the job.. I mean how do you guys accept jobs like a freelance. I would be expecting something like. 1. Email for accepting the Job 2. Asking for project scope.. 3. etc etc..
Anonymous
Someone help I facing the below error after successful deploying my Django app on heroku
Anonymous
My domain is gizga.herokuapp.com
Anonymous
When u go to gizga.herokuapp.com/admin
Anonymous
Then here error occurs
Anonymous
It shows the staf account user enter
Anonymous
Correct username and password
Chandu
Create super user
Anonymous
But I have created the superuser already before deployment
Chandu
In terminal
Anonymous
I have created
Ghorz
hello guys, I have difficulty in ordering my search filter, I want the results order_by('-published_date') but the output is ordered by ('id') below is my snippet. what can I do? https://dpaste.de/j9tC
Anonymous
It works locally
Chandu
Heroku run python manager.py createsuperuser
Chandu
For heroku database
Anonymous
I have created already
Anonymous
You will open the following site... Then u see error gigza.herokuapp.com/admin
Chandu
I have created already
You created for local database
Anonymous
Yes
Chandu
Now create for heroku online database
Anonymous
How
Anonymous
It's wroks locally before deployment
Anonymous
But after deployment this error occur......
Chandu
It's wroks locally before deployment
U created admin account for local database
Anonymous
Ohh
Mirco
Heroku run python manager.py createsuperuser
After deployment you need to run this command
Chandu
After deployment local database won't work
Anonymous
I am trying
Mirco
Ohh
Maybe you are writing just python manage.py createsuperuser
Anonymous
Yes
Mirco
Yes
That's for local dev
Chandu
Yes
Run " heroku run python manager.py createsuperuser" for heroku database
Anonymous
Thanks guys it's working
Anonymous
Thanks....
Mirco
Thanks....
Yw 😊
Ghorz
Thanks,
Mirco
Why you wanna sort there ? You can specify ordering into Meta of Post model
Mirco
Let me try
I strongly suggest https://wsvincent.com/django-search/
Ghorz
qs = sorted(queryset_chain, key=lambda instance: instance.published_date, reverse=False) fixed.😂👍
Mirco
If u need to order posts by -publishing_date , you have ordering tuple into Model's Meta
Anonymous
Hello
Anonymous
Hey
Rohan
Hey
nohello.com but hello.
cj
Hey
if you have a question, ask it directly in the group
Anonymous
C'è qualcuno italiano
cj
C'è qualcuno italiano
can you please read the rules? specially rule #1
Mirco
C'è qualcuno italiano
Yup, but @djangoitalia is your place 😊
Anonymous
Thank
Mirco
Thank
😊
Anonymous
Pls any available Django best pdf
Doragonsureiyā
Pls any available Django best pdf
Check out PythonRes, a channel for Python resources (links to help you out).