2011-05-03 19:52:20 +08:00
|
|
|
from django.contrib.localflavor.gb.gb_regions import (
|
|
|
|
ENGLAND_REGION_CHOICES, NORTHERN_IRELAND_REGION_CHOICES,
|
|
|
|
WALES_REGION_CHOICES, SCOTTISH_REGION_CHOICES, GB_NATIONS_CHOICES,
|
|
|
|
GB_REGION_CHOICES)
|
|
|
|
|
|
|
|
import warnings
|
|
|
|
warnings.warn(
|
|
|
|
'The "UK" prefix for United Kingdom has been deprecated in favour of the '
|
2012-05-03 21:27:01 +08:00
|
|
|
'GB code. Please use the new GB-prefixed names.', DeprecationWarning)
|
2011-05-03 19:52:20 +08:00
|
|
|
|
|
|
|
UK_NATIONS_CHOICES = GB_NATIONS_CHOICES
|
|
|
|
UK_REGION_CHOICES = GB_REGION_CHOICES
|