From f5e2d320708ad0946c6a7629b89c488a0ed7e5c1 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 3 Apr 2013 01:19:14 +0100 Subject: [PATCH] Added South support to Stores. --- app/stores/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/stores/models.py b/app/stores/models.py index 7af7bfd..cd2bf9a 100644 --- a/app/stores/models.py +++ b/app/stores/models.py @@ -103,6 +103,7 @@ class County(models.Model): UK Counties """ name = models.CharField('Name', max_length=100) + country = models.ForeignKey('stores.Country', related_name='counties', null=True, blank=True) @property def stores(self):