1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed Django 1.7 MIDDLEWARE_CLASSES upgrade check.

This commit is contained in:
Tim Graham
2015-02-09 19:16:07 -05:00
parent 5b75b01939
commit c970018f41
6 changed files with 1 additions and 77 deletions

View File

@@ -135,8 +135,6 @@ def setup(verbosity, test_labels):
settings.LANGUAGE_CODE = 'en'
settings.SITE_ID = 1
settings.MIDDLEWARE_CLASSES = ALWAYS_MIDDLEWARE_CLASSES
# Ensure the middleware classes are seen as overridden otherwise we get a compatibility warning.
settings._explicit_settings.add('MIDDLEWARE_CLASSES')
settings.MIGRATION_MODULES = {
# these 'tests.migrations' modules don't actually exist, but this lets
# us skip creating migrations for the test models.