[Django]-How to run two django apps in same server with different dynamic DJANGO_SETTINGS_MODULE env variables

6👍

If you are using gunicorn, for example, you could pass the settings for each gunicorn instance using --settings=your_project.settings.production argument.

You could do the same if you are running the apps with runserver(which is a bad option for production environments).

Leave a comment