0
votes
17
views
How to handle timezone (localtime) in django
posted at Sept. 12, 2019, 4:44 p.m. - 6 days, 4 hours ago

Previously, this issue I was searched how to fix this for a long time. And finally I found the best solution how to fix the timezone.localtime for django. In fact, …

0
votes
85
views
Change backend gmail to Postmarkapp for Django
posted at July 12, 2018, 10:13 p.m. - 1 year, 2 months ago

1. Install module of Python Postmark Install this module manually from souce inside your environtment: https://github.com/themartorana/python-postmark If you work on Django==1.9.*, requirements only mock. 2. Register and Put the Server …

email api settings django module
0
votes
72
views
Django: Redirect HTTP to HTTPS
posted at July 12, 2018, 10:13 p.m. - 1 year, 2 months ago

Django: Redirect HTTP to HTTPS, basically the Django already support to handle this redirection at https://docs.djangoproject.com/en/dev/topics/security/#ssl-https Edit in your settings.py # Redirecting from `HTTP` to `HTTPS` for Django 1.8 or …

0
votes
102
views
How to implement the ForeignKey for multi databases Django
posted at July 12, 2018, 10:13 p.m. - 1 year, 2 months ago

Previously i had confused how to handle this problem, this problem also already asked by someone on stackoverflow (Cross Database foreign key error) and has the best answered by someone …

0
votes
82
views
Step by step how to use multiple databases with database routers in Django
posted at July 12, 2018, 10:13 p.m. - 1 year, 2 months ago

1. Please create a new superuser for the second/default/current database. Because you will getting this issue that i already asked before: https://gitter.im/django/django?at=5810b0b5806316005dc11f46 i use multiple site, multiple env, multiple project, …

0
votes
87
views
Fixed CommandError: Unable to find a locale path to store translations for file __init__.py
posted at July 12, 2018, 10:13 p.m. - 1 year, 2 months ago

Hello guys, this day I want to share a simply tutorial how to fix CommandError: Unable to find a locale path to store translations for file <app_name>/__init__.py for Django 1.10 …