From 89851cfad18fa20b3ea705b875e1864291ef509f Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Fri, 27 May 2011 13:52:34 +0100 Subject: [PATCH] Fix templates to point to the dynamic URL --- app/eve_api/templates/eve_api/character.html | 4 ++-- app/settings.py | 2 +- app/sso/templates/sso/profile.html | 6 +++--- app/templates/base.html | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/eve_api/templates/eve_api/character.html b/app/eve_api/templates/eve_api/character.html index a5a600d..4817b94 100644 --- a/app/eve_api/templates/eve_api/character.html +++ b/app/eve_api/templates/eve_api/character.html @@ -67,9 +67,9 @@ {{ group.grouper }} {% for skill in group.list %} {% if skill.in_training %} - {{ skill.skill.name }} - Training to Level {{ skill.in_training }}Level {{ skill.level }}{{ skill.skillpoints|intcomma }} SP + {{ skill.skill.name }} - Training to Level {{ skill.in_training }}Level {{ skill.level }}{{ skill.skillpoints|intcomma }} SP {% else %} - {{ skill.skill.name }} Level {{ skill.level }}{{ skill.skillpoints|intcomma }} SP + {{ skill.skill.name }} Level {{ skill.level }}{{ skill.skillpoints|intcomma }} SP {% endif %} {% endfor %} {% endfor %} diff --git a/app/settings.py b/app/settings.py index e5624d3..f9b5207 100755 --- a/app/settings.py +++ b/app/settings.py @@ -38,7 +38,7 @@ SITE_ID = 1 USE_I18N = True # Defines the Static Media storage as per staticfiles contrib -STATIC_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'static') +STATIC_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'static') STATIC_URL = '/static/' ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/' diff --git a/app/sso/templates/sso/profile.html b/app/sso/templates/sso/profile.html index fdacce5..a739ac3 100644 --- a/app/sso/templates/sso/profile.html +++ b/app/sso/templates/sso/profile.html @@ -7,12 +7,12 @@ {% block content %} - +