diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-07-29 09:39:35 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-07-29 09:39:35 +0000 |
| commit | dc2bfae1e57089675c76ae77fd6ecc38d976ccd9 (patch) | |
| tree | 233b5ab605e406624189277a0db464f3afc8a3c1 /django/db | |
| parent | db594f90ba684f45bfc8033fb190afdf567ad9f0 (diff) | |
Fixed #16531 -- Fixed various instances of "undefined name" issues. Thanks, Bruno ReniƩ.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db')
| -rw-r--r-- | django/db/models/fields/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index 4362c047c3..b786b7bf11 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -967,7 +967,7 @@ class GenericIPAddressField(Field): if value and ':' in value: try: return clean_ipv6_address(value, self.unpack_ipv4) - except ValidationError: + except exceptions.ValidationError: pass return value |
