fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bit nicer source flow.
[redakcja.git]
/
src
/
sources
/
views.py
diff --git
a/src/sources/views.py
b/src/sources/views.py
index
a5664f7
..
2faaece
100644
(file)
--- a/
src/sources/views.py
+++ b/
src/sources/views.py
@@
-12,6
+12,8
@@
class SourceView(DetailView):
class SourceUploadView(UploadView):
class SourceUploadView(UploadView):
+ template_name = 'sources/upload.html'
+
def get_object(self, request, sid):
source = get_object_or_404(models.Source, id=sid)
return source
def get_object(self, request, sid):
source = get_object_or_404(models.Source, id=sid)
return source