Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
meomancer committed Jun 24, 2024
1 parent bda3a1c commit 7819b27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions django_project/core/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,4 @@
LOGIN_URL = '/account/login/'
LOGIN_REDIRECT_URL = '/'

from .utils import ensure_secret_key_file # noga

ensure_secret_key_file()

from .secret import SECRET_KEY # noqa
5 changes: 5 additions & 0 deletions django_project/core/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
.. note:: Settings for development mode.
"""

from .utils import ensure_secret_key_file # noga

ensure_secret_key_file()

from .project import * # noqa

# Set debug to True for development
Expand Down

0 comments on commit 7819b27

Please sign in to comment.