diff options
author | hardythe1 | 2013-11-27 12:49:28 +0530 |
---|---|---|
committer | hardythe1 | 2013-11-27 12:49:28 +0530 |
commit | 6454590501ae2a2186ff67bfc2429c6805879384 (patch) | |
tree | 2d6125f146c6cd1d60cf10554fa653190a7b10b4 | |
parent | bbdb33925a7e857bf1ea263d8f33cb3b76d3fc2e (diff) | |
download | SciPy2013-6454590501ae2a2186ff67bfc2429c6805879384.tar.gz SciPy2013-6454590501ae2a2186ff67bfc2429c6805879384.tar.bz2 SciPy2013-6454590501ae2a2186ff67bfc2429c6805879384.zip |
resolving URL issue for abstracts
-rw-r--r-- | scipy/settings.py | 4 | ||||
-rw-r--r-- | website/templates/abstract_details.html | 11 |
2 files changed, 8 insertions, 7 deletions
diff --git a/scipy/settings.py b/scipy/settings.py index e0d3451..db3f2b7 100644 --- a/scipy/settings.py +++ b/scipy/settings.py @@ -55,12 +55,12 @@ USE_TZ = True # Absolute filesystem path to the directory that will hold user-uploaded files. # Example: "/var/www/example.com/media/" -MEDIA_ROOT = join(PROJDIR, '../static') +MEDIA_ROOT = join(PROJDIR, '../static/') # URL that handles the media served from MEDIA_ROOT. Make sure to use a # trailing slash. # Examples: "http://example.com/media/", "http://media.example.com/" -MEDIA_URL = '/static/downloads/' +MEDIA_URL = '/downloads/' # Absolute path to the directory static files should be collected to. # Don't put anything in this directory yourself; store your static files diff --git a/website/templates/abstract_details.html b/website/templates/abstract_details.html index ff38076..558eb60 100644 --- a/website/templates/abstract_details.html +++ b/website/templates/abstract_details.html @@ -9,13 +9,14 @@ {% block content %} <center><h4>{{ paper.title }}</h4></center> -<p>Speaker: {{ paper.user.first_name }} {{ paper.user.last_name }}</p> -<p>Speaker Bio: {{ paper.bio }}</p> +<p><strong>{{ paper.user.first_name }} {{ paper.user.last_name }}</strong></p> +<p><strong>{{ paper.bio }}</strong></p> +<p><strong>Abstract: </strong></p> <div id="abstract"> -<p>Abstract: {{ paper.abstract }}</p> +{{ paper.abstract }} </div> -<p>Affiliation: {{ paper.affiliation }}</p> +<p>Affiliation: <strong>{{ paper.affiliation }}</strong></p> <p>Links: {{ paper.links }}</p> -<p><a href="/2013/static/{{ paper.attachments }}">Attachment</a></p> +<p><a href="/downloads/{{ paper.attachments }}">Attachment</a></p> {% endblock %} |