2019-10-12 08:51:09 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
|
|
|
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
|
|
|
|
|
2019-10-25 02:55:28 +00:00
|
|
|
GENERAL_FORBIDDEN_SPECIAL_CHARACTERS_HELP_TEXT = _(
|
|
|
|
'Cannot contain special characters: [ {} ]'
|
|
|
|
).format(" ".join(['/', '\\']))
|
2019-10-12 08:51:09 +00:00
|
|
|
|
2019-10-25 02:55:28 +00:00
|
|
|
GENERAL_FORBIDDEN_SPECIAL_CHARACTERS_PATTERN = r"[/\\]"
|
2019-10-12 08:51:09 +00:00
|
|
|
|
2019-10-25 02:55:28 +00:00
|
|
|
GENERAL_FORBIDDEN_SPECIAL_CHARACTERS_ERROR_MSG = \
|
2019-10-12 08:51:09 +00:00
|
|
|
_("* The contains characters that are not allowed")
|