Fix too long lines in soc.model.work.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Sun, 30 Nov 2008 15:25:07 +0000
changeset 621 21aea6e45a9d
parent 620 e74e0b74625f
child 622 073cbc33bbfe
Fix too long lines in soc.model.work. Patch by: Pawel Solyga
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: