summaryrefslogtreecommitdiff
path: root/tests/model_inheritance/same_model_name
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2016-05-21 13:41:13 -0400
committerSimon Charette <charette.s@gmail.com>2016-05-31 15:15:54 -0400
commitd02e33141dcb39de76bf581d9335351bdf80c9a1 (patch)
tree372b974156e9e9cbe7620bcb5c622de44e47ad46 /tests/model_inheritance/same_model_name
parent53a5fb3cc0137bebeebc0d4d321dbfe20397b065 (diff)
Avoided uncessary table creation in model_inheritance tests.
Diffstat (limited to 'tests/model_inheritance/same_model_name')
-rw-r--r--tests/model_inheritance/same_model_name/__init__.py0
-rw-r--r--tests/model_inheritance/same_model_name/models.py19
2 files changed, 0 insertions, 19 deletions
diff --git a/tests/model_inheritance/same_model_name/__init__.py b/tests/model_inheritance/same_model_name/__init__.py
deleted file mode 100644
index e69de29bb2..0000000000
--- a/tests/model_inheritance/same_model_name/__init__.py
+++ /dev/null
diff --git a/tests/model_inheritance/same_model_name/models.py b/tests/model_inheritance/same_model_name/models.py
deleted file mode 100644
index 6b45e28dfe..0000000000
--- a/tests/model_inheritance/same_model_name/models.py
+++ /dev/null
@@ -1,19 +0,0 @@
-"""
-
-Model inheritance across apps can result in models with the same name,
-requiring an %(app_label)s format string. This app tests this feature by
-redefining the Copy model from model_inheritance/models.py.
-"""
-
-from model_inheritance.models import NamedURL
-
-from django.db import models
-from django.utils.encoding import python_2_unicode_compatible
-
-
-@python_2_unicode_compatible
-class Copy(NamedURL):
- content = models.TextField()
-
- def __str__(self):
- return self.content