X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e0f595e44766e352edfce0aaf5d32be57f448882..0f2ac86f03177aebee66a3890120d9926272cf27:/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