comparison sat/core/constants.py @ 2599:5b26033c49a8

tools (common): moved date_fmt function from template filters to new date_utils module, so it can be used everywhere.
author Goffi <goffi@goffi.org>
date Fri, 01 Jun 2018 12:04:06 +0200
parents 86e57108bd50
children 56f94936df1e
comparison
equal deleted inserted replaced
2598:0b6adc2672d9 2599:5b26033c49a8
366 ## Common data keys ## 366 ## Common data keys ##
367 KEY_THUMBNAILS = u'thumbnails' 367 KEY_THUMBNAILS = u'thumbnails'
368 KEY_PROGRESS_ID = u'progress_id' 368 KEY_PROGRESS_ID = u'progress_id'
369 369
370 370
371 #internationalisation
372 DEFAULT_LOCALE = u'en_GB'
373
374
371 ## Misc ## 375 ## Misc ##
372 SAVEFILE_DATABASE = APP_NAME_FILE + ".db" 376 SAVEFILE_DATABASE = APP_NAME_FILE + ".db"
373 IQ_SET = '/iq[@type="set"]' 377 IQ_SET = '/iq[@type="set"]'
374 ENV_PREFIX = 'SAT_' # Prefix used for environment variables 378 ENV_PREFIX = 'SAT_' # Prefix used for environment variables
375 IGNORE = 'ignore' 379 IGNORE = 'ignore'