Use gnuviechadmin.settings

Specific settings have been removed, they are now triggerd by the
GVA_ENVIRONMENT variable.
This commit is contained in:
Jan Dittberner 2019-01-30 21:08:14 +01:00
parent 96a8e0e995
commit ddec6b4184
3 changed files with 2 additions and 26 deletions

View file

@ -35,28 +35,4 @@ The project module :py:mod:`gnuviechadmin`
------------------------------------------- -------------------------------------------
.. automodule:: gnuviechadmin.settings .. automodule:: gnuviechadmin.settings
:py:mod:`base <gnuviechadmin.settings.base>`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. automodule:: gnuviechadmin.settings.base
:members: :members:
:py:mod:`local <gnuviechadmin.settings.local>`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. automodule:: gnuviechadmin.settings.local
:py:mod:`production <gnuviechadmin.settings.production>`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. automodule:: gnuviechadmin.settings.production
:py:mod:`test <gnuviechadmin.settings.test>`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. automodule:: gnuviechadmin.settings.test

View file

@ -4,7 +4,7 @@ import sys
if __name__ == "__main__": if __name__ == "__main__":
os.environ.setdefault( os.environ.setdefault(
"DJANGO_SETTINGS_MODULE", "gnuviechadmin.settings.local") "DJANGO_SETTINGS_MODULE", "gnuviechadmin.settings")
from django.core.management import execute_from_command_line from django.core.management import execute_from_command_line

View file

@ -9,7 +9,7 @@ source = gnuviechadmin,contact_form,dashboard,domains,gvawebcore,managemails,osu
branch = True branch = True
[coverage:report] [coverage:report]
omit = */migrations/*,*/tests/*.py,*/tests.py,gnuviechadmin/settings/local.py,gnuviechadmin/settings/production.py omit = */migrations/*,*/tests/*.py,*/tests.py,gnuviechadmin/settings.py
show_missing = True show_missing = True
[coverage:html] [coverage:html]