forked from shuup/shuup
/
__init__.py
30 lines (24 loc) · 857 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This file is part of Shoop.
#
# Copyright (c) 2012-2015, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from shoop.apps import AppConfig
from .theme import Theme
from .plugins.base import Plugin, templated_plugin_factory
__all__ = ["Theme", "Plugin", "templated_plugin_factory"]
class XThemeAppConfig(AppConfig):
name = "shoop.xtheme"
verbose_name = "Shoop Extensible Theme Engine"
label = "shoop_xtheme"
provides = {
"front_urls_pre": [__name__ + ".urls:urlpatterns"],
"xtheme_plugin": [
"shoop.xtheme.plugins.text:TextPlugin"
],
"admin_module": [
"shoop.xtheme.admin_module:XthemeAdminModule"
]
}
default_app_config = "shoop.xtheme.XThemeAppConfig"