diff --git a/atxpy_home/views.py b/atxpy_home/views.py index d70e47e..2a00bb5 100644 --- a/atxpy_home/views.py +++ b/atxpy_home/views.py @@ -12,11 +12,17 @@ def posts(): PostsMixin = context_mixin_factory(callback=posts) CompiledStaticMixin = context_mixin_factory({ - "USE_COMPILED_STATIC": settings.USE_COMPILED_STATIC, + "USE_COMPILED_STATIC": settings.USE_COMPILED_STATIC, +}) +SettingsContextMixin = context_mixin_factory({ + 'SITE_NAME': settings.SITE_NAME, }) -class IndexView(PostsMixin, CompiledStaticMixin, DetailView): +class IndexView(PostsMixin, + CompiledStaticMixin, + SettingsContextMixin, + DetailView): model = Hero queryset = Hero.objects.all() template_name = "index.html" diff --git a/manage.py b/manage.py old mode 100644 new mode 100755 diff --git a/requirements.txt b/requirements.txt index d77f3cd..4b5fd63 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ -Django==1.4 +Django==1.4.15 Markdown==2.1.1 Pinax==0.9a2 South==0.7.3 django-appconf==0.5 django-staticfiles==1.1.2 feedparser==5.1.1 -httplib2==0.7.1 +httplib2==0.9 icalendar==3.0.1b2 oauth2==1.5.170 -e git://github.com/joshmarshall/pinax-theme-bootstrap.git@5eed0fc721826325fcacea40e1830cb1b17d8189#egg=pinax_theme_bootstrap-dev diff --git a/runtime.txt b/runtime.txt new file mode 100644 index 0000000..4263511 --- /dev/null +++ b/runtime.txt @@ -0,0 +1 @@ +python-2.7.8 diff --git a/templates/index.html b/templates/index.html index 62dbbdb..324f96a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -70,9 +70,9 @@