app/soc/views/site/docs/edit.py
changeset 351 b37fc4c1e189
parent 343 1c96c36b58db
child 358 843d83b87282
--- a/app/soc/views/site/docs/edit.py	Thu Oct 16 04:30:26 2008 +0000
+++ b/app/soc/views/site/docs/edit.py	Thu Oct 16 04:37:13 2008 +0000
@@ -73,7 +73,6 @@
   properties['link_name'] = link_name
   properties['title'] = form.cleaned_data.get('title')
   properties['short_name'] = form.cleaned_data.get('short_name')
-  properties['abstract'] = form.cleaned_data.get('abstract')
   properties['content'] = form.cleaned_data.get('content')
   properties['author'] = models.user.logic.getFromFields(email=email)
   properties['is_featured'] = form.cleaned_data.get('is_featured')
@@ -244,9 +243,8 @@
         form = EditForm(initial={'doc_key_name': doc.key().name(),
             'title': doc.title, 'partial_path': doc.partial_path,
             'link_name': doc.link_name, 'short_name': doc.short_name,
-            'abstract': doc.abstract, 'content': doc.content,
-            'author': doc.author, 'is_featured': doc.is_featured,
-            'created_by': author_link_name})       
+            'content': doc.content, 'author': doc.author,
+            'is_featured': doc.is_featured, 'created_by': author_link_name})       
       else:
         if request.GET.get(profile.SUBMIT_MSG_PARAM_NAME):
           # redirect to aggressively remove 'Profile saved' query parameter