summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/models.py
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2013-02-26 09:53:47 +0100
committerFlorian Apolloner <florian@apolloner.eu>2013-02-26 14:36:57 +0100
commit89f40e36246100df6a11316c31a76712ebc6c501 (patch)
tree6e65639683ddaf2027908d1ecb1739e0e2ff853b /tests/regressiontests/admin_scripts/models.py
parentb3d2ccb5bfbaf6e7fe1f98843baaa48c35a70950 (diff)
Merged regressiontests and modeltests into the test root.
Diffstat (limited to 'tests/regressiontests/admin_scripts/models.py')
-rw-r--r--tests/regressiontests/admin_scripts/models.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/regressiontests/admin_scripts/models.py b/tests/regressiontests/admin_scripts/models.py
deleted file mode 100644
index cd96052098..0000000000
--- a/tests/regressiontests/admin_scripts/models.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from django.db import models
-from django.utils.encoding import python_2_unicode_compatible
-
-
-@python_2_unicode_compatible
-class Article(models.Model):
- headline = models.CharField(max_length=100, default='Default headline')
- pub_date = models.DateTimeField()
-
- def __str__(self):
- return self.headline
-
- class Meta:
- ordering = ('-pub_date', 'headline')