Skip to content

Commit

Permalink
Add django-extensions for shell_plus
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-Crow committed Nov 29, 2023
1 parent c708174 commit 5006633
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
"content_manager",
]

if DEBUG:
INSTALLED_APPS += [
"django_extensions",
]

MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
Expand Down
16 changes: 15 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ flake8 = "^6.1.0"
isort = "^5.12.0"
pre-commit = "^3.5.0"
djlint = "^1.34.0"
django-extensions = "^3.2.3"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 5006633

Please sign in to comment.