Changes between Version 7 and Version 8 of DynamicModels


Ignore:
Timestamp:
Aug 15, 2007, 3:02:03 PM (17 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