Move language choices to the literals module

This commit is contained in:
Roberto Rosario
2014-10-27 04:46:31 -04:00
parent 4007a407e4
commit df74239e85

View File

@@ -1,3 +1,5 @@
import pycountry
PICTURE_ERROR_SMALL = u'picture_error.png'
PICTURE_ERROR_MEDIUM = u'1297211435_error.png'
PICTURE_UNKNOWN_SMALL = u'1299549572_unknown2.png'
@@ -8,3 +10,6 @@ VERSION_UPDATE_MINOR = u'minor'
VERSION_UPDATE_MICRO = u'micro'
DEFAULT_ZIP_FILENAME = u'document_bundle.zip'
LANGUAGE_CHOICES = [(i.bibliographic, i.name) for i in list(pycountry.languages)]