0
votes
32
views
Change backend gmail to Postmarkapp for Django
posted at July 12, 2018, 3:13 p.m. - 4 months, 1 week 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 ...

0
votes
28
views
Django: Redirect HTTP to HTTPS
posted at July 12, 2018, 3:13 p.m. - 4 months, 1 week 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 ...

1
votes
48
views
How to implement the ForeignKey for multi databases Django
posted at July 12, 2018, 3:13 p.m. - 4 months, 1 week 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
38
views
Step by step how to use multiple databases with database routers in Django
posted at July 12, 2018, 3:13 p.m. - 4 months, 1 week 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
30
views
Fixed CommandError: Unable to find a locale path to store translations for file __init__.py
posted at July 12, 2018, 3:13 p.m. - 4 months, 1 week 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 ...