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:
committed by
Tim Graham
parent
d1c9802811
commit
98514849dc
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user