Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
Merge pull request #225 from romulocollopy/issue_223
Browse files Browse the repository at this point in the history
Explicit pass empty middleware classes
  • Loading branch information
vandersonmota committed Apr 18, 2015
2 parents 79f4299 + 3f39492 commit 223e1f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ def configure_settings(options):
TEST_ROOT=join(dirname(__file__), 'test', 'generic', 'tests'),
)

if django.VERSION >= (1, 7):
params.update(
MIDDLEWARE_CLASSES=tuple()
)

# Force the use of timezone aware datetime and change Django's warning to
# be treated as errors.
if getattr(options, 'USE_TZ', False):
Expand Down

0 comments on commit 223e1f1

Please sign in to comment.