Django

Code

Changeset 5265

Show
Ignore:
Timestamp:
05/16/07 16:36:31 (1 year ago)
Author:
adrian
Message:

Simplified a coding style example in docs/contributing.txt from [5264]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/contributing.txt

    r5264 r5265  
    349349 
    350350          class Person(models.Model): 
    351               FirstName = models.CharField(maxlength=20) 
    352               Last_Name = models.CharField(maxlength=40) 
     351              first_name = models.CharField(maxlength=20) 
     352              last_name = models.CharField(maxlength=40) 
    353353              class Meta: 
    354354                  verbose_name_plural = 'people' 
     
    360360                  verbose_name_plural = 'people' 
    361361 
    362               FirstName = models.CharField(maxlength=20) 
    363               Last_Name = models.CharField(maxlength=40) 
     362              first_name = models.CharField(maxlength=20) 
     363              last_name = models.CharField(maxlength=40) 
    364364 
    365365    * The order of model inner classes and standard methods should be as