diff options
| author | Marc Tamlyn | 2013-02-06 13:10:54 +0000 |
|---|---|---|
| committer | Marc Tamlyn | 2013-02-06 13:10:54 +0000 |
| commit | 11610e7c3c4330b863c9da5d843b6d874c2958e9 (patch) | |
| tree | 386dfe436111b38dfa452c3a696adbeb597f4cf1 /rest_framework/relations.py | |
| parent | bd7977eed79bd8fc4d9e73b6d848b0f0cd5a72ec (diff) | |
| download | django-rest-framework-11610e7c3c4330b863c9da5d843b6d874c2958e9.tar.bz2 | |
Try the correct NoReverseMatch location.
Diffstat (limited to 'rest_framework/relations.py')
| -rw-r--r-- | rest_framework/relations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/relations.py b/rest_framework/relations.py index 48946e21..53fd646d 100644 --- a/rest_framework/relations.py +++ b/rest_framework/relations.py @@ -1,6 +1,6 @@ from __future__ import unicode_literals -from django.core.exceptions import ObjectDoesNotExist, ValidationError, NoReverseMatch -from django.core.urlresolvers import resolve, get_script_prefix +from django.core.exceptions import ObjectDoesNotExist, ValidationError +from django.core.urlresolvers import resolve, get_script_prefix, NoReverseMatch from django import forms from django.forms import widgets from django.forms.models import ModelChoiceIterator |
