mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
@@ -34,6 +34,7 @@ class Media(models.Model):
|
||||
# Generic inline with extra = 0
|
||||
#
|
||||
|
||||
|
||||
class EpisodeExtra(Episode):
|
||||
pass
|
||||
|
||||
@@ -67,6 +68,7 @@ class Contact(models.Model):
|
||||
name = models.CharField(max_length=50)
|
||||
phone_numbers = generic.GenericRelation(PhoneNumber)
|
||||
|
||||
|
||||
#
|
||||
# Generic inline with can_delete=False
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user