From 61730878e491a14c21eb928f48130819dbffcf2e Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 13 Sep 2012 17:11:00 -0400 Subject: [PATCH] Add ICON_SET setting --- apps/icons/registry.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/icons/registry.py b/apps/icons/registry.py index 8f15ef4435..d07b787de5 100644 --- a/apps/icons/registry.py +++ b/apps/icons/registry.py @@ -2,10 +2,21 @@ from __future__ import absolute_import from django.utils.translation import ugettext_lazy as _ +from smart_settings import LocalScope + from .icons import icon_icons_app +from .literals import DEFAULT_ICON_SET name = 'icons' label = _(u'Icons') description = _(u'Handles the registration and rendering of icons and sprites.') dependencies = ['app_registry'] icon = icon_icons_app +settings = [ + { + 'name': 'ICON_SET', + 'default': DEFAULT_ICON_SET, + 'description': _(u'Icon set to use to render all the icon in the project.'), + 'scopes': [LocalScope()] # TODO: Cluster, Org, User + } +]