mirror of
https://github.com/django/django.git
synced 2025-07-07 19:29:12 +00:00
[soc2009/model-validation] Added a useless import to maintain ackwards compatibility
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@10950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9dee3b26e5
commit
eea2bfd941
@ -2,6 +2,10 @@ from django.utils.html import conditional_escape
|
||||
from django.utils.encoding import StrAndUnicode, force_unicode
|
||||
from django.utils.safestring import mark_safe
|
||||
|
||||
# import ValidationError so that it can be imported from this
|
||||
# module to maintain backwards compatibility
|
||||
from django.core.exceptions import ValidationError
|
||||
|
||||
def flatatt(attrs):
|
||||
"""
|
||||
Convert a dictionary of attributes to a single string.
|
||||
|
Loading…
x
Reference in New Issue
Block a user