Skip to content

Commit

Permalink
Add empty MIDDLEWARE_CLASSES to test settings in order to disable sys…
Browse files Browse the repository at this point in the history
…tem check warning.
  • Loading branch information
zlorf committed Sep 7, 2014
1 parent 395771d commit 8047a4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modeltranslation/tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

USE_I18N = True
USE_TZ = False
MIDDLEWARE_CLASSES = ()

MODELTRANSLATION_AUTO_POPULATE = False
MODELTRANSLATION_FALLBACK_LANGUAGES = ()
1 change: 1 addition & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def runtests():
LANGUAGES=(
('en', 'English'),
),
MIDDLEWARE_CLASSES=(),
)

if django.VERSION >= (1, 7):
Expand Down

0 comments on commit 8047a4d

Please sign in to comment.