diff options
| author | Tymur Maryokhin | 2014-11-29 20:04:50 +0100 | 
|---|---|---|
| committer | Tymur Maryokhin | 2014-11-29 20:04:50 +0100 | 
| commit | dd9d40d8c01f54f1542ba728d89b8b2da584dc1f (patch) | |
| tree | f184fea9c5c1b1cdc0949e214261da3e08402161 /tests/models.py | |
| parent | 2f03483f966c5402734b5db2f7006c788bbe04f7 (diff) | |
| download | django-rest-framework-dd9d40d8c01f54f1542ba728d89b8b2da584dc1f.tar.bz2 | |
Moved non-conflicting models
Diffstat (limited to 'tests/models.py')
| -rw-r--r-- | tests/models.py | 12 | 
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): | 
