mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Avoided uncessary table creation in model_inheritance tests.
This commit is contained in:
parent
53a5fb3cc0
commit
d02e33141d
4 changed files with 28 additions and 67 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue