Minor cosmetic issues
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
from django.core.exceptions import ImproperlyConfigured
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
from django.core.exceptions import ImproperlyConfigured
|
||||||
|
|
||||||
from .utils import import_attribute
|
from .utils import import_attribute
|
||||||
|
|
||||||
|
|
||||||
@@ -108,7 +111,6 @@ class AppConf(six.with_metaclass(AppConfMetaClass)):
|
|||||||
An app setting object to be used for handling app setting defaults
|
An app setting object to be used for handling app setting defaults
|
||||||
gracefully and providing a nice API for them.
|
gracefully and providing a nice API for them.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
for name, value in six.iteritems(kwargs):
|
for name, value in six.iteritems(kwargs):
|
||||||
setattr(self, name, value)
|
setattr(self, name, value)
|
||||||
@@ -142,6 +144,5 @@ class AppConf(six.with_metaclass(AppConfMetaClass)):
|
|||||||
"""
|
"""
|
||||||
Hook for doing any extra configuration, returning a dictionary
|
Hook for doing any extra configuration, returning a dictionary
|
||||||
containing the configured data.
|
containing the configured data.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
return self.configured_data
|
return self.configured_data
|
||||||
|
|||||||
Reference in New Issue
Block a user