]> git.0d.be Git - panikdb.git/commitdiff
use combo templates declaration from panikombo
authorFrédéric Péters <fpeters@0d.be>
Sun, 21 Feb 2016 12:28:28 +0000 (13:28 +0100)
committerFrédéric Péters <fpeters@0d.be>
Sun, 21 Feb 2016 12:28:28 +0000 (13:28 +0100)
panikdb/settings.py

index 65fbf04da12cc7df11138849420a49690bc5a91a..f848967708dc8ec4df8a713306690b5f47abadae 100644 (file)
@@ -224,26 +224,7 @@ p a:hover { border-bottom: 1px solid black; }
 
 RAVEN_CONFIG = None
 
-COMBO_PUBLIC_TEMPLATES = {
-    'standard': {
-        'name': 'Section « À propos »',
-        'template': 'combo/page_template.html',
-        'placeholders': {
-            'content': {
-                'name': 'Content',
-            },
-        }
-    },
-    'fullwidth': {
-        'name': 'Page normale',
-        'template': 'combo/page_template_full_width.html',
-        'placeholders': {
-            'content': {
-                'name': 'Content',
-            },
-        }
-    },
-}
+from panikombo.misc import COMBO_PUBLIC_TEMPLATES
 
 AUTO_RENDER_SELECT2_STATICS = False