Skip to content

Instantly share code, notes, and snippets.

@peterbe
Created April 16, 2019 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterbe/1971d9bb65b1f30a4865e60e28b04274 to your computer and use it in GitHub Desktop.
Save peterbe/1971d9bb65b1f30a4865e60e28b04274 to your computer and use it in GitHub Desktop.
from django.utils.translation import ugettext_lazy as _
FILTER_NAMES = {
'developer_needs': {
'title': _('MDN Developer Survey'),
'body': _('...'),
},
'maintenance_mode': {
'title': _('In Maintenance Mode'),
'body': _('Check back in again at %(date)s.'),
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment