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:
Toby Lawrence
2016-02-04 21:15:05 -05:00
parent 8a2d989369
commit b03ee49a82
2 changed files with 22 additions and 2 deletions

View File

@@ -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))