diff --git a/.gitignore b/.gitignore index d22a5f62..23cbe9fd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,11 @@ node_modules/ _build/ .DS_Store dev.db +*.pg .coverage pinaxcon/site_media/ local_settings.py log + +\.#* +*#*# diff --git a/pinaxcon/settings.py b/pinaxcon/settings.py index 7b5bb7ce..71eb4c68 100644 --- a/pinaxcon/settings.py +++ b/pinaxcon/settings.py @@ -245,13 +245,9 @@ DEBUG_TOOLBAR_PANELS = [ 'debug_toolbar.panels.redirects.RedirectsPanel', ] -# To use the debug toolbar on a "remote" site (i.e., not on localhost) change -# SHOW_TOOLBAR_CALLBACK's definition, below, to return True, rather than False. -# If you're using this on a local(host) for development, there's no need to -# change it so long as DEBUG (above) is defined as True. DEBUG_TOOLBAR_CONFIG = { 'INTERCEPT_REDIRECTS': False, - 'SHOW_TOOLBAR_CALLBACK': lambda x: False, + 'SHOW_TOOLBAR_CALLBACK': lambda x: True, } LOGGING = { diff --git a/pinaxcon/templates/cms_pages/abstract_content_page.html b/pinaxcon/templates/cms_pages/abstract_content_page.html index eade8615..4e8f616e 100644 --- a/pinaxcon/templates/cms_pages/abstract_content_page.html +++ b/pinaxcon/templates/cms_pages/abstract_content_page.html @@ -19,22 +19,12 @@ {% block header_inset_image %}{% endblock %} {% block content %} -
{{ page.intro }}
- {{ page.body }} -{{ page.intro }}
+ {{ page.body }}{{ item.date|date:"j F Y" }} – {{ item.intro }}
@@ -36,7 +38,7 @@ {% endif %} -{{ page.date|date:"j F Y" }}
{{ page.body }} +- By submitting this sponsor application you are agreeing to the terms and conditions. + By submitting this sponsor application you are agreeing to the + {% comment %} + terms and conditions. + {% endcomment %} + +
{{ sponsor.listing_text|urlize|linebreaks }}
@@ -37,4 +40,5 @@ {% endfor %} {% endif %} {% endfor %} +