Forgotten req.
[audio.git] / src / archive / views.py
index 98556ef..55f4f07 100644 (file)
@@ -65,7 +65,7 @@ def file_new(request, filename):
                     d[tag] = None
 
     if not request.POST:
                     d[tag] = None
 
     if not request.POST:
-        form = AudiobookForm(d)
+        form = AudiobookForm(initial=d)
     return render(request, "archive/file_new.html", locals())
 
 
     return render(request, "archive/file_new.html", locals())