# HG changeset patch # User Pawel Solyga # Date 1228058707 0 # Node ID 21aea6e45a9dc9195e07de64114e76cb7dcbecca # Parent e74e0b74625f44f14fb317e1206a2a9e0c56754e Fix too long lines in soc.model.work. Patch by: Pawel Solyga diff -r e74e0b74625f -r 21aea6e45a9d app/soc/models/work.py --- 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: