Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed comma splice in auth.User model docstring

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f67b629ada21a8357027ce86dfbdb52dd1065f6b 1 parent f2aab5b
Adrian Holovaty authored June 20, 2006

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/contrib/auth/models.py
4  django/contrib/auth/models.py
@@ -17,7 +17,7 @@ class Permission(models.Model):
17 17
         - The "add" permission limits the user's ability to view the "add" form and add an object.
18 18
         - The "change" permission limits a user's ability to view the change list, view the "change" form and change an object.
19 19
         - The "delete" permission limits the ability to delete an object.
20  
-        
  20
+
21 21
     Permissions are set globally per type of object, not per specific object instance. It is possible to say "Mary may change news stories," but it's not currently possible to say "Mary may change news stories, but only the ones she created herself" or "Mary may only change news stories that have a certain status or publication date."
22 22
 
23 23
     Three basic permissions -- add, create and delete -- are automatically created for each Django model.
@@ -72,7 +72,7 @@ def make_random_password(self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz
72 72
 class User(models.Model):
73 73
     """Users within the Django authentication system are represented by this model.
74 74
 
75  
-    Username and password are required, other fields are optional.
  75
+    Username and password are required. Other fields are optional.
76 76
     """
77 77
     username = models.CharField(_('username'), maxlength=30, unique=True, validator_list=[validators.isAlphaNumeric], help_text=_("Required. 30 characters or fewer. Alphanumeric characters only (letters, digits and underscores)."))
78 78
     first_name = models.CharField(_('first name'), maxlength=30, blank=True)

0 notes on commit f67b629

Please sign in to comment.
Something went wrong with that request. Please try again.