changeset 305 | 972d28056d9d |
parent 303 | 4f1bb54ddae5 |
child 309 | 7190b224c701 |
--- a/app/soc/views/site/docs/edit.py Sun Oct 12 15:05:50 2008 +0000 +++ b/app/soc/views/site/docs/edit.py Sun Oct 12 15:52:19 2008 +0000 @@ -76,6 +76,7 @@ ugettext_lazy('Document saved.'), ) + def getDocForForm(form): """Extracts doc fields from a form and creates a new doc from it """ @@ -103,6 +104,7 @@ return doc + def edit(request, partial_path=None, link_name=None, template=DEF_SITE_DOCS_EDIT_TMPL): """View for a Developer to modify the properties of a Document Model entity.