Changes between Version 12 and Version 13 of DynamicModels


Ignore:
Timestamp:
06/28/08 13:17:30 (7 years ago)
Author:
springmeyer
Comment:

fixing the deprecated maxlengh to max_length in example

Legend:

Unmodified
Added
Removed
Modified
  • DynamicModels

    v12 v13  
    3030#!python
    3131class Person(models.Model):
    32     first_name = models.CharField(maxlength=255)
    33     last_name = models.CharField(maxlength=255)
     32    first_name = models.CharField(max_length=255)
     33    last_name = models.CharField(max_length=255)
    3434}}}
    3535
Back to Top