mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Avoided uncessary table creation in model_inheritance tests.
This commit is contained in:
@@ -168,14 +168,6 @@ class NamedURL(models.Model):
|
||||
abstract = True
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Copy(NamedURL):
|
||||
content = models.TextField()
|
||||
|
||||
def __str__(self):
|
||||
return self.content
|
||||
|
||||
|
||||
class Mixin(object):
|
||||
def __init__(self):
|
||||
self.other_attr = 1
|
||||
|
||||
Reference in New Issue
Block a user