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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user