Fix up the excluded extensions bit.
This adds the missing admin class, and registration of it, required to actually change the value of the excluded extensions configuration.
This commit is contained in:
@@ -48,7 +48,7 @@ class AssetExcludedExtensionsConfig(ConfigurationModel):
|
||||
return map(add_period, cls.current().excluded_extensions.split())
|
||||
|
||||
def __repr__(self):
|
||||
return '<AssetExcludedExtensionsConfig(extensions={})>'.format(self.get_excluded_extensions().split())
|
||||
return '<AssetExcludedExtensionsConfig(extensions={})>'.format(self.get_excluded_extensions())
|
||||
|
||||
def __unicode__(self):
|
||||
return unicode(repr(self))
|
||||
|
||||
Reference in New Issue
Block a user