Skip to content

Commit

Permalink
Turns out the boundaries changed in May 2011 edition, just ID wasn't …
Browse files Browse the repository at this point in the history
…updated until May 2012.
  • Loading branch information
dracos committed Jul 25, 2012
1 parent a12f4f2 commit d35cb84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mapit/management/commands/mapit_UK_fix_2012-05.py
Expand Up @@ -11,7 +11,7 @@

class Command(LabelCommand):
help = 'Import OS Boundary-Line'
args = '<October 2011 Boundary-Line unitary/district SHP file>'
args = '<October 2010 Boundary-Line unitary/district SHP file>'
option_list = LabelCommand.option_list + (
make_option('--commit', action='store_true', dest='commit', help='Actually update the database'),
)
Expand All @@ -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()
Expand Down

0 comments on commit d35cb84

Please sign in to comment.