Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Django Skeleton #35

Closed
wants to merge 3 commits into from

Conversation

renzon
Copy link

@renzon renzon commented Oct 25, 2017

It is working, but only when settings is left with its vars.

Ex: I've tried to remove SECRET_KEY from settings.py and got:

raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

Now I got what you mean we need to keep standard DJANGO var on settings.py, only to please the health check of the project. On your second solution, patching manage.py and wsgi.py are the var also necessary on settings.py? If not, I would go with the second solution ;)

renzon added 2 commits October 25, 2017 01:35
It is working, but only when settings is left with its vars.

Ex: I've tried to remove SECRET_KEY from settings.py and got:

  raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
It is working, but only when settings is left with its vars.

Ex: I've tried to remove SECRET_KEY from settings.py and got:

  raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 79.039% when pulling d01f0d4 on renzon:django_extension into 57c05df on rochacbruno:django_extension.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 79.039% when pulling 2dfaac9 on renzon:django_extension into 57c05df on rochacbruno:django_extension.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 79.039% when pulling 2dfaac9 on renzon:django_extension into 57c05df on rochacbruno:django_extension.

@renzon renzon mentioned this pull request Oct 25, 2017
@coveralls
Copy link

coveralls commented Oct 25, 2017

Coverage Status

Coverage remained the same at 79.039% when pulling e040b04 on renzon:django_extension into 57c05df on rochacbruno:django_extension.

@@ -1,5 +1,5 @@
from django.apps import AppConfig


class BarConfig(AppConfig):
class DJangoDynaconfig(AppConfig):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have a little typo in the class name

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried I little merge with Dynaconf with Config, but maybe I've failed ;)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think @mazulo is refering to "DJango..." instead of "Django"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants