From d35cb84731b3fa57bf6880e5ab83d7cbbaa2444e Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 25 Jul 2012 18:05:41 +0100 Subject: [PATCH] Turns out the boundaries changed in May 2011 edition, just ID wasn't updated until May 2012. --- mapit/management/commands/mapit_UK_fix_2012-05.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mapit/management/commands/mapit_UK_fix_2012-05.py b/mapit/management/commands/mapit_UK_fix_2012-05.py index 0eaa7caf..78427a79 100644 --- a/mapit/management/commands/mapit_UK_fix_2012-05.py +++ b/mapit/management/commands/mapit_UK_fix_2012-05.py @@ -11,7 +11,7 @@ class Command(LabelCommand): help = 'Import OS Boundary-Line' - args = '' + args = '' option_list = LabelCommand.option_list + ( make_option('--commit', action='store_true', dest='commit', help='Actually update the database'), ) @@ -34,7 +34,7 @@ def handle_label(self, filename, **options): type = Type.objects.get(code=area_code), country = Country.objects.get(code=country), generation_low = Generation.objects.get(id=1), - generation_high = Generation.objects.get(id=16), + generation_high = Generation.objects.get(id=14), ) if options['commit']: m.save()