From b83440a0732422e21c5a38b4c2524cbd848193f7 Mon Sep 17 00:00:00 2001 From: mandrag0ra Date: Tue, 27 May 2014 01:39:35 +0200 Subject: [PATCH] correct syntax errors --- nsupdate/settings/base.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nsupdate/settings/base.py b/nsupdate/settings/base.py index ed9dac8..4d13d69 100644 --- a/nsupdate/settings/base.py +++ b/nsupdate/settings/base.py @@ -53,7 +53,7 @@ TIME_ZONE = 'Europe/Berlin' # Language code for this installation. All choices can be found here: # http://www.i18nguy.com/unicode/language-identifiers.html -#LANGUAGE_CODE = 'en-us' +LANGUAGE_CODE = 'en-us' SITE_ID = 1 @@ -375,9 +375,7 @@ MESSAGE_TAGS = { constants.ERROR: 'alert-danger', } -#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 +# By default language is set to english - modify settings.py to set list of languages gettext_noop = lambda s: s LANGUAGES = ( ('en', gettext_noop('English')),