# HG changeset patch # User Pawel Solyga # Date 1229303173 0 # Node ID f00e6b3af5a6e9efdfad5311140cc648e8423730 # Parent ad62f4c3245edce3d991f8a0a647ac7b7ecb3f00 Remove unused imports in models modules. Patch by: Pawel Solyga diff -r ad62f4c3245e -r f00e6b3af5a6 app/soc/models/club.py --- a/app/soc/models/club.py Mon Dec 15 00:34:46 2008 +0000 +++ b/app/soc/models/club.py Mon Dec 15 01:06:13 2008 +0000 @@ -21,8 +21,6 @@ ] -from django.utils.translation import ugettext_lazy - import soc.models.group diff -r ad62f4c3245e -r f00e6b3af5a6 app/soc/models/notification.py --- a/app/soc/models/notification.py Mon Dec 15 00:34:46 2008 +0000 +++ b/app/soc/models/notification.py Mon Dec 15 01:06:13 2008 +0000 @@ -25,8 +25,6 @@ from django.utils.translation import ugettext_lazy -from soc.models import base - import soc.models.linkable import soc.models.user @@ -35,8 +33,8 @@ """Model of a Notification. """ - # a reference to the user this Notification is from - # this is a non-required property, None will indicate an Anonymous Admin + #: a reference to the user this Notification is from + #: this is a non-required property, None will indicate an Anonymous Admin from_user = db.ReferenceProperty(reference_class=soc.models.user.User, required=False, collection_name="sent_notifications", @@ -45,14 +43,14 @@ subject = db.StringProperty(required=True, verbose_name=ugettext_lazy('Subject')) - # the message that is contained within this Notification + #: the message that is contained within this Notification message = db.TextProperty(required=True, verbose_name=ugettext_lazy('Message')) - # date and time on which this Notification was created + #: date and time on which this Notification was created created_on = db.DateTimeProperty(auto_now_add=True, verbose_name=ugettext_lazy('Created On')) - # boolean property that marks if the notification is unread + #: boolean property that marks if the notification is unread unread = db.BooleanProperty(default=True, verbose_name=ugettext_lazy('Unread')) diff -r ad62f4c3245e -r f00e6b3af5a6 app/soc/models/organization.py --- a/app/soc/models/organization.py Mon Dec 15 00:34:46 2008 +0000 +++ b/app/soc/models/organization.py Mon Dec 15 01:06:13 2008 +0000 @@ -21,8 +21,6 @@ ] -from django.utils.translation import ugettext_lazy - import soc.models.group diff -r ad62f4c3245e -r f00e6b3af5a6 app/soc/models/school.py --- a/app/soc/models/school.py Mon Dec 15 00:34:46 2008 +0000 +++ b/app/soc/models/school.py Mon Dec 15 01:06:13 2008 +0000 @@ -21,8 +21,6 @@ ] -from django.utils.translation import ugettext_lazy - import soc.models.group diff -r ad62f4c3245e -r f00e6b3af5a6 app/soc/models/sponsor.py --- a/app/soc/models/sponsor.py Mon Dec 15 00:34:46 2008 +0000 +++ b/app/soc/models/sponsor.py Mon Dec 15 01:06:13 2008 +0000 @@ -21,8 +21,6 @@ ] -from django.utils.translation import ugettext_lazy - import soc.models.group