aboutsummaryrefslogtreecommitdiffstats
path: root/tests/models.py
diff options
context:
space:
mode:
authorTymur Maryokhin2014-11-29 20:04:50 +0100
committerTymur Maryokhin2014-11-29 20:04:50 +0100
commitdd9d40d8c01f54f1542ba728d89b8b2da584dc1f (patch)
treef184fea9c5c1b1cdc0949e214261da3e08402161 /tests/models.py
parent2f03483f966c5402734b5db2f7006c788bbe04f7 (diff)
downloaddjango-rest-framework-dd9d40d8c01f54f1542ba728d89b8b2da584dc1f.tar.bz2
Moved non-conflicting models
Diffstat (limited to 'tests/models.py')
-rw-r--r--tests/models.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/models.py b/tests/models.py
index a0e0b3cc..456b0a0b 100644
--- a/tests/models.py
+++ b/tests/models.py
@@ -17,11 +17,6 @@ class BasicModel(RESTFrameworkModel):
text = models.CharField(max_length=100, verbose_name=_("Text comes here"), help_text=_("Text description."))
-class SlugBasedModel(RESTFrameworkModel):
- text = models.CharField(max_length=100)
- slug = models.SlugField(max_length=32)
-
-
class BaseFilterableItem(RESTFrameworkModel):
text = models.CharField(max_length=100)
@@ -34,13 +29,6 @@ class FilterableItem(BaseFilterableItem):
date = models.DateField()
-# Model for regression test for #285
-class Comment(RESTFrameworkModel):
- email = models.EmailField()
- content = models.CharField(max_length=200)
- created = models.DateTimeField(auto_now_add=True)
-
-
# Models for relations tests
# ManyToMany
class ManyToManyTarget(RESTFrameworkModel):