aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/models.py
diff options
context:
space:
mode:
authorTom Christie2013-05-10 21:57:05 +0100
committerTom Christie2013-05-10 21:57:05 +0100
commit773a92eab3ac4b635511483ef906b3b8de9dedc9 (patch)
treec63c2728865337dc6824cd1efe70e0276c2f9d2b /rest_framework/tests/models.py
parentfd84cf7f10bf703c5daae4a5f6a7dee0c22471dd (diff)
downloaddjango-rest-framework-773a92eab3ac4b635511483ef906b3b8de9dedc9.tar.bz2
Move models into test modules, out of models module
Diffstat (limited to 'rest_framework/tests/models.py')
-rw-r--r--rest_framework/tests/models.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/rest_framework/tests/models.py b/rest_framework/tests/models.py
index f2117538..40e41a64 100644
--- a/rest_framework/tests/models.py
+++ b/rest_framework/tests/models.py
@@ -58,13 +58,6 @@ class ReadOnlyManyToManyModel(RESTFrameworkModel):
rel = models.ManyToManyField(Anchor)
-# Model to test filtering.
-class FilterableItem(RESTFrameworkModel):
- text = models.CharField(max_length=100)
- decimal = models.DecimalField(max_digits=4, decimal_places=2)
- date = models.DateField()
-
-
# Model for regression test for #285
class Comment(RESTFrameworkModel):