Documentation fixes
authorMikko Värri <vmj@linuxbox.fi>
Tue, 2 Feb 2010 00:43:00 +0000 (02:43 +0200)
committerMikko Värri <vmj@linuxbox.fi>
Tue, 2 Feb 2010 00:43:00 +0000 (02:43 +0200)
recycloid_models/models.py

index ea0cd7a..4adb7a0 100644 (file)
@@ -52,7 +52,7 @@ class StashServer(IdentifiedModel):
 class StashOwner(IdentifiedModel):
     """Stash owner.
 
-    This is an extension of django.contrib.User model,
+    This is an extension of django.contrib.auth.models.User model,
     i.e. there's one-to-one relationship between them.
 
     One stash server may have zero or more stash owners.
@@ -60,7 +60,8 @@ class StashOwner(IdentifiedModel):
 
     user = models.ForeignKey(User, unique=True)
 
-    server = models.ForeignKey(StashServer)
+    server = models.ForeignKey(StashServer,
+                               help_text='Home server of the stash owner')
 
     thumbnail = models.URLField(blank=True, help_text='Optional URL of the avatar image')
 
@@ -191,7 +192,7 @@ class StashItemImage(IdentifiedModel):
 
 
 def on__user__post_save(sender, *args, **kwargs):
-    """Callback for post_save signal from auth.models.User.
+    """Callback for post_save signal from django.contrib.auth.models.User.
 
     Creates a corresponding Recycloid StashOwner when User is
     created.