reverting the bug introduced in STATIC_URL

This commit is contained in:
Serghei Mihai 2014-01-20 17:24:05 +01:00
parent 121b278e3f
commit b8a90171c8
No known key found for this signature in database
GPG Key ID: 76D1C964BF2FA1AF
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ USE_L10N = True
# Static files
STATIC_ROOT = os.environ.get('STATIC_ROOT', '/var/lib/%s/static' % PROJECT_NAME)
STATIC_URL = os.environ.get('STATIC_URL', '/static/%s' % PROJECT_NAME)
STATIC_URL = os.environ.get('STATIC_URL', '/static/')
MEDIA_ROOT = os.environ.get('MEDIA_ROOT', '/var/lib/%s/media' % PROJECT_NAME)
MEDIA_URL = os.environ.get('MEDIA_URL', '/media/')

View File

@ -15,7 +15,7 @@
<div id="page">
<div id="header">
<div id="top">
<h1 id="logo" href="/"><img src="{{ STATIC_URL }}/img/logo.png" alt="Entr'ouvert"/></a></h1>
<h1 id="logo" href="/"><img src="{{ STATIC_URL }}portail_citoyen/img/logo.png" alt="Entr'ouvert"/></a></h1>
<div class="region-header">
{% if user.is_authenticated %}
<div id="toplinks">