Commits

tehfink committed 101bd6f

example project update

Comments (0)

Files changed (5)

examples/cms-2.0.2/cmsplugin_photologue_example/cmsplugin_photologue_example.db

Binary file modified.

examples/cms-2.0.2/cmsplugin_photologue_example/media/photologue/photos/autos/cache/P1110425_display.jpg

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/photologue/photos/beer/cache/IMG_1266_display.jpg

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/media/photologue/photos/food/cache/IMG_0870_display.jpg

Added
New image

examples/cms-2.0.2/cmsplugin_photologue_example/settings.py

     'cms.middleware.user.CurrentUserMiddleware',
     'cms.middleware.page.CurrentPageMiddleware',
     'cms.middleware.multilingual.MultilingualURLMiddleware',
-    #'debug_toolbar.middleware.DebugToolbarMiddleware',
-
+#    'debug_toolbar.middleware.DebugToolbarMiddleware',
 )
 
 ROOT_URLCONF = PROJECT_NAME + '.urls'
     'mptt',
     'reversion',
 
-#    'django_extensions',
+    'django_extensions',
+#    'debug_toolbar',
 
     'photologue',
     'cmsplugin_photologue',
     },
 
     'body': {
-        "plugins": ("VideoPlugin", "TextPlugin", ),
+#        "plugins": ("VideoPlugin", "TextPlugin", ),
         "extra_context": {"theme":"16_5"},
         "name":gettext("body"),
     },
 CMS_HIDE_UNTRANSLATED = False
 CMS_URL_OVERWRITE = True
 
+CMSPLUGIN_PHOTOLOGUE_ROOT_URL = {
+    'name': 'pl-gallery-archive-day',
+    'template': '',
+    'extra_args': { 'year': '2010', 'month': 'jan', 'day': '3' }
+}
+
+DEBUG_TOOLBAR_CONFIG = {
+    'INTERCEPT_REDIRECTS': False,
+}
+
+DEBUG_TOOLBAR_PANELS = (
+#   'debug_toolbar.panels.version.VersionDebugPanel',
+#   'debug_toolbar.panels.timer.TimerDebugPanel',
+    'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
+    'debug_toolbar.panels.headers.HeaderDebugPanel',
+    'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
+    'debug_toolbar.panels.template.TemplateDebugPanel',
+#    'debug_toolbar.panels.sql.SQLDebugPanel',
+#    'debug_toolbar.panels.signals.SignalDebugPanel',
+#    'debug_toolbar.panels.logger.LoggingPanel',
+)
 
 try:
     from local_settings import *