diff options
Diffstat (limited to 'tests/regressiontests/model_fields/models.py')
| -rw-r--r-- | tests/regressiontests/model_fields/models.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/regressiontests/model_fields/models.py b/tests/regressiontests/model_fields/models.py index 4adaf3b113..45cd223142 100644 --- a/tests/regressiontests/model_fields/models.py +++ b/tests/regressiontests/model_fields/models.py @@ -29,11 +29,6 @@ class Bar(models.Model): b = models.CharField(max_length=10) a = models.ForeignKey(Foo, default=get_foo) -class Baz(models.Model): - a = models.CharField(max_length=5) - #Only Foos related to Bars starting with 'a' - foo = models.ForeignKey(Foo, limit_choices_to=models.Q(bar__b__startswith='a')) - class Whiz(models.Model): CHOICES = ( ('Group 1', ( |
