Skip to content

Commit

Permalink
enable django_stubs_ext in production
Browse files Browse the repository at this point in the history
  • Loading branch information
Kakadus committed May 13, 2024
1 parent 9c9c22d commit 0801c84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions evap/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@
import sys
from typing import Any

import django_stubs_ext
from django.contrib.staticfiles.storage import ManifestStaticFilesStorage

BASE_DIR = os.path.dirname(os.path.realpath(__file__))

django_stubs_ext.monkeypatch()

### Debugging

Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
black~=24.4.0
coverage[toml]
django-debug-toolbar~=4.0
django-stubs==5.0.0
django-stubs==*
django-webtest~=1.9.10
isort~=5.13.1
model-bakery~=1.18.0
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
django-stubs-ext==5.0.0
django-extensions==3.2.3
django-fsm==3.0.0
django~=5.0
Expand Down

0 comments on commit 0801c84

Please sign in to comment.