﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23412	Unable to import django.forms.util.ValidationError	Nathan Osman	nobody	"I ran the following commands on a completely clean installation of Ubuntu Server 14.04.1:

{{{
apt-get install python-pip
pip install Django
}}}

I then opened the Python interpreter and ran the following commands:

{{{
Python 2.7.6 (default, Mar 22 2014, 22:59:56) 
[GCC 4.8.2] on linux2
Type ""help"", ""copyright"", ""credits"" or ""license"" for more information.
>>> from django import forms
>>> forms.util.ValidationError
Traceback (most recent call last):
  File ""<stdin>"", line 1, in <module>
AttributeError: 'module' object has no attribute 'util'
}}}

It would appear that {{{django.forms.util}}} is missing. This is very odd since I can confirm that the relevant file does indeed exist:

{{{
# cd /usr/local/lib/python2.7/dist-packages/django/forms
# ls
extras      formsets.py   forms.pyc     models.py   util.pyc   widgets.py
fields.py   formsets.pyc  __init__.py   models.pyc  utils.py   widgets.pyc
fields.pyc  forms.py      __init__.pyc  util.py     utils.pyc
}}}

I have confirmed this error on two other machines running Ubuntu 14.04. According to the contents of the file, the module is set to be removed in Django 1.9, so it should still work in Django 1.7."	Bug	closed	Forms	1.7	Normal	invalid			Unreviewed	0	0	0	0	0	0
