Ticket #6427: at_provinces.py

File at_provinces.py, 1.1 KB (added by Bela Hausmann <post@…>, 17 years ago)

localflavor.at.at_provinces

Line 
1# -*- coding: utf-8 -*-
2"""
3A list of all nine provinces in Austria, see also: http://en.wikipedia.org/wiki/ISO_3166-2:AT
4In the comments there are their english names, if they are not the same as the german ones.
5Vienna is moved to the top, because it's the capital of Austria
6"""
7
8from django.utils.translation import ugettext_lazy as _
9
10# after ISO_3166-2
11PROVINCE_CHOICES = (
12 ('9', _(u'Wien')), # Vienna
13 ('1', _(u'Burgenland')),
14 ('2', _(u'Kärnten')), # Carinthia
15 ('3', _(u'Niederösterreich')), # Lower Austria
16 ('4', _(u'Oberösterreich')), # Upper Austria
17 ('5', _(u'Salzburg')),
18 ('6', _(u'Steiermark')), # Styria
19 ('7', _(u'Tirol')), # Tyrol
20 ('8', _(u'Vorarlberg')),
21)
22
23# alternative keys using initials (not used in forms)
24PROVINCE_CHOICES_INITIALS = (
25 ('W', _(u'Wien')), # Vienna
26 ('B', _(u'Burgenland')),
27 ('K', _(u'Kärnten')), # Carinthia
28 ('N', _(u'Niederösterreich')), # Lower Austria
29 ('O', _(u'Oberösterreich')), # Upper Austria
30 ('S', _(u'Salzburg')),
31 ('St', _(u'Steiermark')), # Styria
32 ('T', _(u'Tirol')), # Tyrol
33 ('V', _(u'Vorarlberg')),
34)
35
Back to Top