Changes between Version 12 and Version 13 of RemovingTheMagic


Ignore:
Timestamp:
Dec 13, 2005, 11:05:18 PM (19 years ago)
Author:
Adrian Holovaty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v12 v13  
    1313{{{
    1414#!python
    15 from django.core import meta
     15from django.db import models
    1616
    17 class Person(meta.Model):
    18     first_name = meta.CharField(maxlength=30)
    19     last_name = meta.CharField(maxlength=30)
     17class Person(models.Model):
     18    first_name = models.CharField(maxlength=30)
     19    last_name = models.CharField(maxlength=30)
    2020
    2121    def _get_full_name(self):
Back to Top