Fixed DC panel form. PersonListField was raising a TypeError.
[redakcja.git] / apps / explorer / views.py
index 6754930..1f53771 100644 (file)
@@ -210,10 +210,9 @@ def dceditor_panel(request, path, repo):
 
     try:
         doc_text = repo.get_file(path, user_branch)
-
         document = parser.WLDocument.from_string(doc_text)
         form = forms.DublinCoreForm(info=document.book_info)       
-
+        print "FORM: ", form
         return direct_to_template(request, 'explorer/panels/dceditor.html', extra_context={
             'fpath': path,
             'form': form,