Skip to content

Commit

Permalink
feat: adding django-extensions as an extra
Browse files Browse the repository at this point in the history
  • Loading branch information
iarp committed Mar 16, 2022
1 parent cdbd407 commit 8a205ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements-extras.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
django-extensions
7 changes: 7 additions & 0 deletions sportsnet/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@
"reversion",
]

if env.bool("DJANGO_LOAD_EXTRA_EXTENSIONS", False): # pragma: no cover
INSTALLED_APPS.extend(
[
"django_extensions",
]
)

MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
Expand Down

0 comments on commit 8a205ab

Please sign in to comment.