Changes between Version 7 and Version 8 of DynamicModels


Ignore:
Timestamp:
08/15/2007 03:02:03 PM (8 years ago)
Author:
Marty Alchin <gulopine@…>
Comment:

Fixed a typo

Legend:

Unmodified
Added
Removed
Modified
  • DynamicModels

    v7 v8  
    3939#!python
    4040Person = type('Person', (models.Model,), {
    41     'first_name': models.CharField(maxlength=255)
    42     'last_name': models.CharField(maxlength=255)
     41    'first_name': models.CharField(maxlength=255),
     42    'last_name': models.CharField(maxlength=255),
    4343})
    4444}}}
Back to Top