diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-31 16:22:07 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-31 17:29:04 +0100 |
| commit | 553500133cc4426f20407391f3493716357db45f (patch) | |
| tree | ef935fa7d9be8bf6ab9efd4d7321a0d6a3a69e15 /django | |
| parent | d0eeddd6fcd93b23bb632ad3ea95ae3f871907e3 (diff) | |
Removed an obsolete unicity check.
It doesn't account for app configs.
Refs #21679.
Diffstat (limited to 'django')
| -rw-r--r-- | django/conf/__init__.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/django/conf/__init__.py b/django/conf/__init__.py index ac074d5166..3449368cb0 100644 --- a/django/conf/__init__.py +++ b/django/conf/__init__.py @@ -104,11 +104,6 @@ class BaseSettings(object): elif name == "ALLOWED_INCLUDE_ROOTS" and isinstance(value, six.string_types): raise ValueError("The ALLOWED_INCLUDE_ROOTS setting must be set " "to a tuple, not a string.") - elif name == "INSTALLED_APPS": - value = list(value) # force evaluation of generators on Python 3 - if len(value) != len(set(value)): - raise ImproperlyConfigured("The INSTALLED_APPS setting must contain unique values.") - object.__setattr__(self, name, value) |
