Skip to content

Commit 8b7bb90

Browse files
committed
Still saving images to /media under django-jquery-file-upload app.
1 parent 76dda2c commit 8b7bb90

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ db
77
/share
88
/env
99
/venv
10-
10+
/django-jquery-file-upload/media
1111
*.log
1212
*.pot
1313
*.pyc
1414
local_settings.py
15-
.idea
15+
.idea

django-jquery-file-upload/urls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121

2222
from os.path import join, abspath, dirname
2323
urlpatterns += patterns('',
24-
(r'^media/(.*)$', 'django.views.static.serve', {'document_root': join(abspath(dirname(dirname(__file__))), 'media')}),
24+
(r'^media/(.*)$', 'django.views.static.serve', {'document_root': join(abspath(dirname(__file__)), 'media')}),
2525
)

0 commit comments

Comments
 (0)