X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/db66331863edf55f21d94a37bc8e4c25ce36765b..54d1617957cfa3a8c9ffd714ad6c4bef09e727de:/philo/validators.py diff --git a/philo/validators.py b/philo/validators.py index c8e5dc9..144699e 100644 --- a/philo/validators.py +++ b/philo/validators.py @@ -1,10 +1,12 @@ -from django.utils.translation import ugettext_lazy as _ -from django.core.validators import RegexValidator +import re + from django.core.exceptions import ValidationError +from django.core.validators import RegexValidator from django.template import Template, Parser, Lexer, TOKEN_BLOCK, TOKEN_VAR, TemplateSyntaxError from django.utils import simplejson as json from django.utils.html import escape, mark_safe -import re +from django.utils.translation import ugettext_lazy as _ + from philo.utils import LOADED_TEMPLATE_ATTR