D
D
Dmitry2015-06-21 16:49:49
Django
Dmitry, 2015-06-21 16:49:49

How to create a custom settings file for each SITE_ID and then specify the corresponding DJANGO_SETTINGS_MODULE?

To use site support on a production server, you need to create your own settings file for each SITE_ID (possibly with the import of common ones to avoid duplication) and then specify the appropriate DJANGO_SETTINGS_MODULE.

Quote from documentation

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2015-06-21
@sim3x

https://docs.djangoproject.com/en/1.8/ref/contrib/...
It is not necessary to separate settings, but if necessary, it is done like this
stackoverflow.com/a/19013555

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question