X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/02f8116c468682e76e7d7d81ab345c92d8188152..049c5959e33d29e4c0044c235d291144d49d3c45:/src/sources/views.py?ds=inline diff --git a/src/sources/views.py b/src/sources/views.py index a5664f77..2faaecea 100644 --- a/src/sources/views.py +++ b/src/sources/views.py @@ -12,6 +12,8 @@ class SourceView(DetailView): 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