diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-02-09 11:17:53 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-02-09 11:17:53 -0300 |
commit | c1d3642b275775ea560a553436d3d86ccdbf8c39 (patch) | |
tree | 1efa6af6eda3cc3b6b05eabc95464b5a3ca7a093 /urls.py | |
parent | 4eda10d77f9a74f962343406ea54e72649787844 (diff) | |
parent | f1e476373a602327a5d23d2f92c7dc30ce2891fd (diff) |
Merge branch 'master' of git://projects.archlinux.org/archweb
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +import os.path + from django.conf.urls.defaults import * from django.conf import settings from django.contrib import admin @@ -97,6 +99,6 @@ urlpatterns += patterns('', if settings.DEBUG == True: urlpatterns += patterns('', (r'^media/(.*)$', 'django.views.static.serve', - {'document_root': settings.DEPLOY_PATH+'/media'})) + {'document_root': os.path.join(settings.DEPLOY_PATH, 'media')})) # vim: set ts=4 sw=4 et: |