parts/django/tests/regressiontests/admin_registration/models.py
changeset 307 c6bca38c1cbf
equal deleted inserted replaced
306:5ff1fc726848 307:c6bca38c1cbf
       
     1 """
       
     2 Tests for various ways of registering models with the admin site.
       
     3 """
       
     4 
       
     5 from django.db import models
       
     6 
       
     7 class Person(models.Model):
       
     8     name = models.CharField(max_length=200)
       
     9 
       
    10 class Place(models.Model):
       
    11     name = models.CharField(max_length=200)