summaryrefslogtreecommitdiff
path: root/django/conf/__init__.py
diff options
context:
space:
mode:
authorSimon Charette <charettes@users.noreply.github.com>2017-01-19 02:39:46 -0500
committerClaude Paroz <claude@2xlibre.net>2017-01-19 08:39:46 +0100
commitcecc079168e8669138728d31611ff3a1e7eb3a9f (patch)
tree2415083d44f84c6f206930fc689a8c0e50a98caa /django/conf/__init__.py
parenta5563963397aeee30c32e3c1dab31bfe453ca89f (diff)
Refs #23919 -- Stopped inheriting from object to define new style classes.
Diffstat (limited to 'django/conf/__init__.py')
-rw-r--r--django/conf/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/conf/__init__.py b/django/conf/__init__.py
index f99236a778..ec6efa8e96 100644
--- a/django/conf/__init__.py
+++ b/django/conf/__init__.py
@@ -97,7 +97,7 @@ class LazySettings(LazyObject):
return self._wrapped is not empty
-class Settings(object):
+class Settings:
def __init__(self, settings_module):
# update this dict from global settings (but only for ALL_CAPS settings)
for setting in dir(global_settings):
@@ -150,7 +150,7 @@ class Settings(object):
}
-class UserSettingsHolder(object):
+class UserSettingsHolder:
"""
Holder for user configured settings.
"""