summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2010-02-27 16:37:32 +0000
committerKaren Tracey <kmtracey@gmail.com>2010-02-27 16:37:32 +0000
commite0679ef165aff483470d7ea4eea7951f3097460b (patch)
tree5e4b994af916b56e9c8d6efb829faaf5ba5484f6 /tests
parentaa8a98564c53cdb2cdc15d004b0a9e38ad10204f (diff)
[1.1.X] Removed more stray tabs in Python files.
Applicable parts of r12616 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rw-r--r--tests/modeltests/proxy_models/models.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/modeltests/proxy_models/models.py b/tests/modeltests/proxy_models/models.py
index 5621e6d692..4f0e78b6ba 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