equal
deleted
inserted
replaced
55 ugettext_lazy('Document saved.'), |
55 ugettext_lazy('Document saved.'), |
56 ) |
56 ) |
57 |
57 |
58 |
58 |
59 def getDocForForm(form): |
59 def getDocForForm(form): |
60 """Extracts doc fields from a form and creates a new doc from it |
60 """Extracts doc fields from a form and creates a new doc from it. |
61 """ |
61 """ |
62 |
62 |
63 user = users.get_current_user() |
63 user = users.get_current_user() |
64 |
64 |
65 partial_path = form.cleaned_data.get('partial_path') |
65 partial_path = form.cleaned_data.get('partial_path') |