Alexander Lamas
2018-08-24 00:55:46 UTC
Hi guys,
In my Django REST Web API Framework, I would like to set up files for
settings for different purposes.
For example:
settings_release.py
settings_debug.py
settings_unittest.py
Then, when I deploy to production it uses the settings_release.py, when I'm
working on it I can set to settings_debug.py an when I'm running unit tests
it looks the settings_unittests.py.
Is it possible to set this somewhere? Perhaps the app or solution
configuration?
Also, is it possible to change to release mode so that when I publish to
production it uses the settings_release.py automatically as default setting?
Thank you very much!
Regards,
Alex
In my Django REST Web API Framework, I would like to set up files for
settings for different purposes.
For example:
settings_release.py
settings_debug.py
settings_unittest.py
Then, when I deploy to production it uses the settings_release.py, when I'm
working on it I can set to settings_debug.py an when I'm running unit tests
it looks the settings_unittests.py.
Is it possible to set this somewhere? Perhaps the app or solution
configuration?
Also, is it possible to change to release mode so that when I publish to
production it uses the settings_release.py automatically as default setting?
Thank you very much!
Regards,
Alex
--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.