Remove unused imports in models modules.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Mon, 15 Dec 2008 01:06:13 +0000
changeset 748 f00e6b3af5a6
parent 747 ad62f4c3245e
child 749 134d9954f4dc
Remove unused imports in models modules. Patch by: Pawel Solyga
app/soc/models/club.py
app/soc/models/notification.py
app/soc/models/organization.py
app/soc/models/school.py
app/soc/models/sponsor.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
 
 
--- 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'))
--- 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
 
 
--- 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
 
 
--- 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