diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2010-02-27 16:30:27 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2010-02-27 16:30:27 +0000 |
| commit | 9fab1467c734a92dfec0ccae27fe841d3b4a3c33 (patch) | |
| tree | e34cea00ed7f7f7bb875bad488370ea8068acfd2 /tests | |
| parent | 41c30f2fb86f32c19a61f37d890967d000ad5d90 (diff) | |
Removed more stray tabs in Python files.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/modeltests/proxy_models/models.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/modeltests/proxy_models/models.py b/tests/modeltests/proxy_models/models.py index 49972f3d2c..28446b96c1 100644 --- a/tests/modeltests/proxy_models/models.py +++ b/tests/modeltests/proxy_models/models.py @@ -98,18 +98,18 @@ class UserProxyProxy(UserProxy): # We can still use `select_related()` to include related models in our querysets. class Country(models.Model): - name = models.CharField(max_length=50) + name = models.CharField(max_length=50) class State(models.Model): - name = models.CharField(max_length=50) - country = models.ForeignKey(Country) + name = models.CharField(max_length=50) + country = models.ForeignKey(Country) - def __unicode__(self): - return self.name + def __unicode__(self): + return self.name class StateProxy(State): - class Meta: - proxy = True + class Meta: + proxy = True # Proxy models still works with filters (on related fields) # and select_related, even when mixed with model inheritance |
