1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #10405 -- Raise a more useful error if the formfield of a related model field can't be created yet because the related model isn't loaded yet. Thanks ojii and charstring.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel
2011-08-12 14:15:08 +00:00
parent 386b12c1c6
commit 1d485cf14f
3 changed files with 38 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ Global Django exception and warning classes.
"""
class DjangoRuntimeWarning(RuntimeWarning):
pass
pass
class ObjectDoesNotExist(Exception):
"The requested object does not exist"