X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/f2ed1449ece59c6247b8befc9ca6f423f7e4b004..09c7e92db4f6c0e94f8686a94bbfaa6896b0290c:/src/archive/views.py?ds=sidebyside diff --git a/src/archive/views.py b/src/archive/views.py index 98556ef..55f4f07 100644 --- a/src/archive/views.py +++ b/src/archive/views.py @@ -65,7 +65,7 @@ def file_new(request, filename): d[tag] = None if not request.POST: - form = AudiobookForm(d) + form = AudiobookForm(initial=d) return render(request, "archive/file_new.html", locals())