X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/98693e66f46b848477a0a79bd6161c31cd956c87..6d69e02f9265a0be1c762e0798e22ac764f2dafc:/apps/explorer/views.py?ds=inline diff --git a/apps/explorer/views.py b/apps/explorer/views.py index 6754930a..19582e25 100644 --- a/apps/explorer/views.py +++ b/apps/explorer/views.py @@ -210,10 +210,8 @@ 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) - return direct_to_template(request, 'explorer/panels/dceditor.html', extra_context={ 'fpath': path, 'form': form,