26👍
✅
Adding the following in production settings.py fixed the problem for me:
ACCOUNT_DEFAULT_HTTP_PROTOCOL=’https’
1👍
**This worked for me :
- Go to https://console.developers.google.com
- Add without port http://127.0.0.1/accounts/google/login/callback/
- Also Add http://localhost/accounts/google/login/callback/
- see the image in the link for detail
- Django filter through multiple fields in a many-to-many intermediary table
- Add help_text for search field in admin.py
0👍
In my case, the problem was in the following:
- Error loading MySQLdb module: libmysqlclient.so.20: cannot open shared object file: No such file or directory
- How to set a random integer as the default value for a Django CharField?
- Django: Duplicated logic between properties and queryset annotations
- How to stop gunicorn_django in virtualenv?
Source:stackexchange.com