Permalink
Browse files

quick

  • Loading branch information...
1 parent 4e5176e commit 1f12b9b601b9d671deb34c1d68ec0dee7086458a @icnivad committed Nov 11, 2011
Showing with 7 additions and 7 deletions.
  1. +4 −4 pix/main/Templates/base.html
  2. +2 −2 pix/main/Templates/main.html
  3. +1 −1 pix/settings.py
@@ -13,11 +13,11 @@
<div class="topbar">
<div class="fill">
<div class="container">
- <h3><a href="/">Picalytics</a></h3>
+ <h3><a href="{{SUBSITE_URL}}">Picalytics</a></h3>
<ul>
- <li><a href="/">Home</a></li>
- <li><a href="/my_images/">Create Image</a></li>
- <li><a href="/my_images/list">View Images</a></li>
+ <li><a href="{{SUBSITE_URL}}">Home</a></li>
+ <li><a href="{{SUBSITE_URL}}my_images/">Create Image</a></li>
+ <li><a href="{{SUBSITE_URL}}my_images/list">View Images</a></li>
</ul>
</div>
</div>
@@ -11,7 +11,7 @@
</p>
</div>
<ul class="unstyled img_list">
-<li><a href="/my_images">Create Image</a></li>
-<li><a href="/my_images/list">View Images</a></li>
+<li><a href="{{SUBSITE_URL}}my_images">Create Image</a></li>
+<li><a href="{{SUBSITE_URL}}my_images/list">View Images</a></li>
</ul>
{% endblock %}
View
@@ -52,7 +52,7 @@
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
# Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
-MEDIA_URL = '/Media/'
+MEDIA_URL = SUBSITE_URL+'/Media/'
# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files

0 comments on commit 1f12b9b

Please sign in to comment.