Просмотр исходного кода

Removed ADMIN_FOR from global_settings.py.

The functionality it was used for was removed in Django 1.7.
Tim Graham 10 лет назад
Родитель
Сommit
7c3d6149a7
1 измененных файлов с 0 добавлено и 5 удалено
  1. 0 5
      django/conf/global_settings.py

+ 0 - 5
django/conf/global_settings.py

@@ -259,11 +259,6 @@ ABSOLUTE_URL_OVERRIDES = {}
 # Example: ('/home/html', '/var/www')
 ALLOWED_INCLUDE_ROOTS = ()
 
-# If this is an admin settings module, this should be a list of
-# settings modules (in the format 'foo.bar.baz') for which this admin
-# is an admin.
-ADMIN_FOR = ()
-
 # List of compiled regular expression objects representing URLs that need not
 # be reported by BrokenLinkEmailsMiddleware. Here are a few examples:
 #    import re