From 7c133a06ab6772980c3bb0be6f2078121c277d86 Mon Sep 17 00:00:00 2001 From: www-data Date: Tue, 13 Dec 2011 04:04:55 +0100 Subject: removed forgotten /askbot/upfiles path --- askbot/urls.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/askbot/urls.py b/askbot/urls.py index 2c3d143d..4bfab225 100644 --- a/askbot/urls.py +++ b/askbot/urls.py @@ -41,15 +41,10 @@ urlpatterns = patterns('', views.meta.media, name='askbot_media', ), - url( + url( # TODO: replace with django.conf.urls.static ? r'^%s(?P.*)$' % settings.ASKBOT_UPLOADED_FILES_URL, 'django.views.static.serve', - {'document_root': os.path.join( - settings.PROJECT_ROOT, - 'askbot', - 'upfiles' - ).replace('\\','/') - }, + {'document_root': settings.ASKBOT_FILE_UPLOAD_DIR.replace('\\','/')}, name='uploaded_file', ), #no translation for this url!! -- cgit v1.2.3-1-g7c22