Update settings
This commit is contained in:
parent
25e0bc1197
commit
9b38b05a11
4 changed files with 5 additions and 1 deletions
|
|
@ -2,6 +2,8 @@ from .base import * # isort:skip
|
|||
from .version import get_current_version
|
||||
|
||||
|
||||
LOGGING.update({"loggers": {"two_factor": {"handlers": ["console"], "level": "INFO"}}})
|
||||
|
||||
SECRET_KEY = "mv4&5#+)-=abz3^&1r^nk_ca6y54--p(4n4cg%z*g&rb64j%wl"
|
||||
|
||||
MIDDLEWARE += ["debug_toolbar.middleware.DebugToolbarMiddleware"]
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@ from .base import * # isort:skip
|
|||
from .version import get_current_version
|
||||
|
||||
|
||||
LOGGING.update({"loggers": {"two_factor": {"handlers": ["console"], "level": "INFO"}}})
|
||||
|
||||
SECRET_KEY = "=q(ztyo)b6noom#a164g&s9vcj1aawa^g#ing_ir99=_zl4g&$"
|
||||
|
||||
INSTALLED_APPS += ["debug_toolbar", "django_extensions"]
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ schema_info = openapi.Info(title="Newsreader API", default_version="v1")
|
|||
schema_view = get_schema_view(schema_info, patterns=api_patterns)
|
||||
|
||||
urlpatterns = [
|
||||
path("", include(two_factor_urls)),
|
||||
path("", include(two_factor_urls)), # TODO enforce two factor auth
|
||||
path("", login_required(NewsView.as_view()), name="index"),
|
||||
path("", include((news_patterns, "news"))),
|
||||
path("", include((api_patterns, "api"))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue