diff options
Diffstat (limited to 'lib/tagging/tests/models.py')
-rw-r--r-- | lib/tagging/tests/models.py | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/lib/tagging/tests/models.py b/lib/tagging/tests/models.py deleted file mode 100644 index e3274ff..0000000 --- a/lib/tagging/tests/models.py +++ /dev/null @@ -1,42 +0,0 @@ -from django.db import models - -from tagging.fields import TagField - -class Perch(models.Model): - size = models.IntegerField() - smelly = models.BooleanField(default=True) - -class Parrot(models.Model): - state = models.CharField(max_length=50) - perch = models.ForeignKey(Perch, null=True) - - def __unicode__(self): - return self.state - - class Meta: - ordering = ['state'] - -class Link(models.Model): - name = models.CharField(max_length=50) - - def __unicode__(self): - return self.name - - class Meta: - ordering = ['name'] - -class Article(models.Model): - name = models.CharField(max_length=50) - - def __unicode__(self): - return self.name - - class Meta: - ordering = ['name'] - -class FormTest(models.Model): - tags = TagField('Test', help_text='Test') - -class FormTestNull(models.Model): - tags = TagField(null=True) - |