'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
- 'debug_toolbar.middleware.DebugToolbarMiddleware',
# 'pagination.middleware.PaginationMiddleware',
)
'jqchat',
'ipauth',
'extra_views',
- 'debug_toolbar',
'bootstrap3',
'bootstrap_pagination',
'googletools',
'PAGE_RANGE_DISPLAYED': 10,
'MARGIN_PAGES_DISPLAYED': 2,
}
+
if DEBUG:
+ INSTALLED_APPS += ('debug_toolbar',)
+ MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
DEBUG_TOOLBAR_CONFIG = {
'SHOW_TOOLBAR_CALLBACK': lambda x : True
}
-DEBUG_TOOLBAR_PATCH_SETTINGS = False
-DEBUG_TOOLBAR_PANELS = [
- 'debug_toolbar.panels.versions.VersionsPanel',
- 'debug_toolbar.panels.timer.TimerPanel',
- 'debug_toolbar.panels.settings.SettingsPanel',
- 'debug_toolbar.panels.headers.HeadersPanel',
- 'debug_toolbar.panels.request.RequestPanel',
- 'debug_toolbar.panels.sql.SQLPanel',
- 'debug_toolbar.panels.staticfiles.StaticFilesPanel',
- 'debug_toolbar.panels.templates.TemplatesPanel',
- 'debug_toolbar.panels.cache.CachePanel',
- 'debug_toolbar.panels.signals.SignalsPanel',
- 'debug_toolbar.panels.logging.LoggingPanel',
- 'debug_toolbar.panels.redirects.RedirectsPanel',
-]
+ DEBUG_TOOLBAR_PATCH_SETTINGS = False
+ DEBUG_TOOLBAR_PANELS = [
+ 'debug_toolbar.panels.versions.VersionsPanel',
+ 'debug_toolbar.panels.timer.TimerPanel',
+ 'debug_toolbar.panels.settings.SettingsPanel',
+ 'debug_toolbar.panels.headers.HeadersPanel',
+ 'debug_toolbar.panels.request.RequestPanel',
+ 'debug_toolbar.panels.sql.SQLPanel',
+ 'debug_toolbar.panels.staticfiles.StaticFilesPanel',
+ 'debug_toolbar.panels.templates.TemplatesPanel',
+ 'debug_toolbar.panels.cache.CachePanel',
+ 'debug_toolbar.panels.signals.SignalsPanel',
+ 'debug_toolbar.panels.logging.LoggingPanel',
+ 'debug_toolbar.panels.redirects.RedirectsPanel',
+ ]
+ DEBUG_TOOLBAR_CONFIG = {
+ 'JQUERY_URL': '/static/jquery/dist/jquery.min.js',
+ }
+ INTERNAL_IPS = ['127.0.0.1', '0.0.0.0', '172.17.0.1']
SUIT_CONFIG = {
- 'ADMIN_NAME': 'Telemeta Admin'
+ 'ADMIN_NAME': 'Telemeta Admin'
}
# A sample logging configuration. The only tangible logging
'angular-resource#1.2.26',
'raphael#2.2.7',
'soundmanager#V2.97a.20150601',
- 'https://github.com/Parisson/loaders.git',
- 'https://github.com/Parisson/ui.git',
'jquery-ui#1.11.4',
'tablesorter',
'video.js',
'sass-bootstrap-glyphicons',
+ # 'https://github.com/Parisson/loaders.git',
+ # 'https://github.com/Parisson/ui.git',
)