1
0
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:
Simon Charette
2016-05-21 13:41:13 -04:00
parent 53a5fb3cc0
commit d02e33141d
4 changed files with 28 additions and 67 deletions

View File

@@ -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