X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e0f595e44766e352edfce0aaf5d32be57f448882..945eac1969985192b4f628ec68ac3468643cb9cd:/src/sources/views.py 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