diff --git a/demo/settings.py b/demo/settings.py index c1a2476..58b7f3d 100644 --- a/demo/settings.py +++ b/demo/settings.py @@ -60,7 +60,7 @@ STATICFILES_FINDERS = [ "django.contrib.staticfiles.finders.FileSystemFinder", "django.contrib.staticfiles.finders.AppDirectoriesFinder", ] -SECRET_KEY = os.environ.get("SECRET_KEY", "") +SECRET_KEY = os.environ.get("SECRET_KEY", "change-me") TEMPLATE_LOADERS = [ "django.template.loaders.filesystem.Loader", "django.template.loaders.app_directories.Loader", @@ -74,7 +74,7 @@ TEMPLATE_CONTEXT_PROCESSORS = [ "django.core.context_processors.tz", "django.core.context_processors.request", "django.contrib.messages.context_processors.messages", - "pinax_utils.context_processors.settings", + "pinax_theme_bootstrap.context_processors.theme", "account.context_processors.account", ] MIDDLEWARE_CLASSES = [ @@ -99,7 +99,6 @@ INSTALLED_APPS = [ "django.contrib.staticfiles", # theme - "pinax_theme_bootstrap_account", "pinax_theme_bootstrap", "django_forms_bootstrap", diff --git a/demo/templates/_complete_count.html b/demo/templates/_complete_count.html index 2c8535a..43be836 100644 --- a/demo/templates/_complete_count.html +++ b/demo/templates/_complete_count.html @@ -1,3 +1,3 @@ -
+

{{ done_count }} task{{ done_count|pluralize }} completed

\ No newline at end of file diff --git a/demo/templates/_task.html b/demo/templates/_task.html index 9a5c79c..129abed 100644 --- a/demo/templates/_task.html +++ b/demo/templates/_task.html @@ -3,11 +3,11 @@
{% if task.done %} - + {% else %} - + {% endif %} - +
diff --git a/demo/templates/homepage.html b/demo/templates/homepage.html index 7a1c9a8..4278c3f 100644 --- a/demo/templates/homepage.html +++ b/demo/templates/homepage.html @@ -19,7 +19,7 @@ bootstrap-ajax

-
+ {% csrf_token %}
diff --git a/demo/templates/site_base.html b/demo/templates/site_base.html index 96081a2..eaeef40 100644 --- a/demo/templates/site_base.html +++ b/demo/templates/site_base.html @@ -1,7 +1,6 @@ {% extends "theme_base.html" %} {% load metron_tags %} -{% load i18n %} {% block extra_head_base %}