Anonymous
and what about https?
Abhi
it gets stuck
Abhi
connection timeout
Anonymous
hmmm
Anonymous
can you share django settings.py?
Abhi
okay
Anonymous
and your nginx config again
Abhi
okay wait
Abhi
https://dpaste.de/Z4Wf
Abhi
settings.py file ^^
Anonymous
nothing looks wrong to me
Abhi
https://dpaste.de/3RLM
Abhi
^^ django config file
Abhi
@Sin_atra do this wget https://103.227.68.37
Anonymous
sudo journalctl -u nginx
Anonymous
sudo less /var/log/nginx/access.log
Anonymous
are you sure you enabled this config?
Abhi
https://dpaste.de/ynmB
Abhi
yeah
Anonymous
I'm fairly sure there is problem with nginx
Abhi
created the syslink to this file to site-enabled folder
Anonymous
sudo tail -F /var/log/nginx/error.log
Anonymous
but I cannot judge more without logs
Abhi
yeah
Anonymous
sudo nginx -t before anything else
Abhi
okay wait
Abhi
yeah i guess here is the problem
Abhi
https://dpaste.de/hwsa
Abhi
no the last error came preciously, i had fixed it
Komang
no the last error came preciously, i had fixed it
Already done or still with same problem?
Django Bot
>> Links - How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 16.04 | D
Abhi
Already done or still with same problem?
the log that i send you contains problem that i had fixed already
Abhi
still it is not working
Komang
You can try add 'ssl on;' in your nginx and update openssl and regenerate ssl certificate
Allan
Does django have something like the Auth module (class actually) from web2py?
Allan
Even as a plug-in/thirdparty module
mohamed
Bro its not workinh
mohamed
What the reason anyone tell me bro
mohamed
In windows power shell
mohamed
I give python -- version
mohamed
Its not working
mohamed
Why bro?
mohamed
Bro
Abhi
python must not have installed
mohamed
Bro i installed
Anonymous
try python3
Anonymous
or check environment variable
mohamed
Thank u
Audacious Tux
can anyone shade some light on this?
Javi
seems that in last_sent_mail is None
Audacious Tux
let me check
Javi
try to print(type(self.last_sent_mail))
Javi
and check the log
Audacious Tux
yah... u were right... thanks ❤️
Javi
anytime :D
Django Bot
>> Links - Django Trees via Closure View - Schinckel.net - PauLoX – Full-Text Search in Django with PostgreSQL - Django: How to add ForeignKey to multiple models – Bhrigu Srivastava – Medi - Things You Must Know About Django Admin As Your App Gets Bigger - How to Reset Migrations - PauLoX – Full-Text Search in Django with PostgreSQL
harisai | హరి సాయి
Hi,how can we use password encrypt and decrypt in django.. ex:- Iam working on a project which has registered user database now when ever a user register i need to encrypt the password which they entered and store it in the database. and while login i need to decrypt the password and map with the user entered password.. can anyone suggest me how can this be done? thanks in advance
Anonymous
Read it's doc
harisai | హరి సాయి
😼
??
Read Django's Documentation
😼
So-called RTFM or RTFW
harisai | హరి సాయి
okay
inchidi
okay
do you need recommendation search query for your search?
harisai | హరి సాయి
inchidi
inchidi
Use django allauth
🤔did you really understand whats django allauth for?
黒の戦士
I use it for authentication and it manage well my passwords
Abhi
i want to make django user groups and define permissions. I am using mongodb as a back-end database.
Abhi
since i am using mongoengine as an adapter to connect with mongodb, and mongo does not support user groups and permission. How can i do it with django ?
Anonymous
Use django allauth
He don't have to use any extension at all
Anonymous
Or maybe create a table with user id as keys and permissions as values
biswaz
Need help with django allauth. Im using a custom signup form with allauth that should appear after I've signed up with Google account. But the signup form appears only randomly.
Mouleswaran
Hi