diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-10-14 02:14:29 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-10-14 02:14:29 +0000 |
| commit | 8926b431eda3a7b031e10beb6963bf2d26e4039b (patch) | |
| tree | 091a0ac1e278ea9b26032dbc1274c361c1079f49 /tests | |
| parent | 2c4013e74fcd5f7ba0865448d6ac39ba65463752 (diff) | |
queryset-refactor: Removed a test that can be better (and simply) fixed on trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/queries/models.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index a20b657154..a2fc5d18d2 100644 --- a/tests/regressiontests/queries/models.py +++ b/tests/regressiontests/queries/models.py @@ -21,7 +21,6 @@ class Author(models.Model): class Item(models.Model): name = models.CharField(maxlength=10) - data_ = models.CharField(maxlength=10, blank=True, null=True) tags = models.ManyToManyField(Tag, blank=True, null=True) creator = models.ForeignKey(Author) @@ -62,7 +61,7 @@ __test__ = {'API_TESTS':""" >>> i2 = Item(name='two', creator=a2) >>> i2.save() >>> i2.tags = [t1, t3] ->>> i3 = Item(name='three', data_='x', creator=a2) +>>> i3 = Item(name='three', creator=a2) >>> i3.save() >>> i4 = Item(name='four', creator=a4) >>> i4.save() @@ -130,12 +129,6 @@ Bug #2253 >>> (q1 & q2).order_by('name') [<Item: one>] -Bug #3265 -# FIXME: Currently causes a crash. Probably not worth fixing, but must make it -# a validation error in that case. -# >>> Item.objects.get(data___exact='x') -# <Item: three> - Bugs #4088 & #4306 >>> Report.objects.filter(creator=1001) [<Report: r1>] |
