fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
raven
[redakcja.git]
/
apps
/
fileupload
/
urls.py
diff --git
a/apps/fileupload/urls.py
b/apps/fileupload/urls.py
index
290a4cf
..
cd4f46c
100644
(file)
--- a/
apps/fileupload/urls.py
+++ b/
apps/fileupload/urls.py
@@
-1,7
+1,7
@@
-from django.conf.urls
.defaults import *
+from django.conf.urls
import patterns, url
from fileupload.views import UploadView
urlpatterns = patterns('',
from fileupload.views import UploadView
urlpatterns = patterns('',
-
(r'^(?P<path>.+)$', UploadView.as_view(), {}, '
upload'),
+
url(r'^(?P<path>(?:.*/)?)$', UploadView.as_view(), name='file
upload'),
)
)