correct syntax errors
This commit is contained in:
parent
c3ab638092
commit
b83440a073
@ -53,7 +53,7 @@ TIME_ZONE = 'Europe/Berlin'
|
|||||||
|
|
||||||
# Language code for this installation. All choices can be found here:
|
# Language code for this installation. All choices can be found here:
|
||||||
# http://www.i18nguy.com/unicode/language-identifiers.html
|
# http://www.i18nguy.com/unicode/language-identifiers.html
|
||||||
#LANGUAGE_CODE = 'en-us'
|
LANGUAGE_CODE = 'en-us'
|
||||||
|
|
||||||
SITE_ID = 1
|
SITE_ID = 1
|
||||||
|
|
||||||
@ -375,9 +375,7 @@ MESSAGE_TAGS = {
|
|||||||
constants.ERROR: 'alert-danger',
|
constants.ERROR: 'alert-danger',
|
||||||
}
|
}
|
||||||
|
|
||||||
#by default language is set to english - modify settings.py to set list of languages
|
# By default language is set to english - modify settings.py to set list of languages
|
||||||
#see https://docs.djangoproject.com/en/dev/topics/i18n/translation/#message-files and
|
|
||||||
# https://docs.djangoproject.com/en/dev/topics/i18n/translation/#how-django-discovers-language-preference for details
|
|
||||||
gettext_noop = lambda s: s
|
gettext_noop = lambda s: s
|
||||||
LANGUAGES = (
|
LANGUAGES = (
|
||||||
('en', gettext_noop('English')),
|
('en', gettext_noop('English')),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user