Ticket #21317: constants.diff
File constants.diff, 510 bytes (added by , 11 years ago) |
---|
-
constants.py
old new 1 from django.utils.translation import ugettext_lazy as _ 2 1 3 DEBUG = 10 2 4 INFO = 20 3 5 SUCCESS = 25 … … 5 7 ERROR = 40 6 8 7 9 DEFAULT_TAGS = { 8 DEBUG: 'debug',9 INFO: 'info',10 SUCCESS: 'success',11 WARNING: 'warning',12 ERROR: 'error',10 DEBUG: _('debug'), 11 INFO: _('info'), 12 SUCCESS: _('success'), 13 WARNING: _('warning'), 14 ERROR: _('error'), 13 15 }