1
0
mirror of https://github.com/django/django.git synced 2025-10-26 23:26:08 +00:00

Fixed #19414 -- Added admin registration decorator

Thanks stavros for the suggestion.
This commit is contained in:
Brian Holdefehr
2012-12-17 19:04:10 -05:00
committed by Tim Graham
parent d1c9802811
commit 98514849dc
6 changed files with 127 additions and 1 deletions

View File

@@ -8,9 +8,15 @@ from django.db import models
class Person(models.Model):
name = models.CharField(max_length=200)
class Traveler(Person):
pass
class Location(models.Model):
class Meta:
abstract = True
class Place(Location):
name = models.CharField(max_length=200)