--- a/app/soc/models/work.py Sat Nov 29 23:51:24 2008 +0000
+++ b/app/soc/models/work.py Sun Nov 30 15:25:07 2008 +0000
@@ -45,8 +45,9 @@
#: Work (this relationship is needed to keep track of lifetime document
#: creation limits, used to prevent spamming, etc.).
author = db.ReferenceProperty(reference_class=soc.models.user.User,
- required=True, collection_name="created_documents",
- verbose_name=ugettext_lazy('Created by'))
+ required=True,
+ collection_name="created_documents",
+ verbose_name=ugettext_lazy('Created by'))
#: Required field indicating the "title" of the work, which may have
#: different uses depending on the specific type of the work. Works
@@ -75,8 +76,9 @@
# indicating wich user last modified the work. Used in displaying Work
modified_by = db.ReferenceProperty(reference_class=soc.models.user.User,
- required=True, collection_name="modified_documents",
- verbose_name=ugettext_lazy('Modified by'))
+ required=True,
+ collection_name="modified_documents",
+ verbose_name=ugettext_lazy('Modified by'))
# TODO: some sort of access control preferences are needed at this basic
# level. Works need to be restrict-able to: