created_at = forms.DateField()
released_to_public_domain_at = forms.DateField()
editors = PersonListField(widget=forms.Textarea, required=False)
- translator = PersonField(required=False)
- technical_editor = PersonField(required=False)
- publisher = PersonField()
+ translators = PersonListField(widget=forms.Textarea, required=False)
+ technical_editors = PersonListField(widget=forms.Textarea, required=False)
+ publisher = forms.CharField()
source_name = forms.CharField(widget=forms.Textarea)
source_url = forms.URLField(verify_exists=False)
url = forms.URLField(verify_exists=False)
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,