aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/modelresource.py
diff options
context:
space:
mode:
authortom christie tom@tomchristie.com2011-02-19 10:47:26 +0000
committertom christie tom@tomchristie.com2011-02-19 10:47:26 +0000
commit57b3a372f2122d022f9d6f43818e5fe9d318ce03 (patch)
treeeb667e2de5681d1886d5119b5d4092b12cd24524 /djangorestframework/modelresource.py
parent805aa03ec1871f6a766d9052b348ddce9e9843c3 (diff)
downloaddjango-rest-framework-57b3a372f2122d022f9d6f43818e5fe9d318ce03.tar.bz2
Move status codes into seperate module
Diffstat (limited to 'djangorestframework/modelresource.py')
-rw-r--r--djangorestframework/modelresource.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/djangorestframework/modelresource.py b/djangorestframework/modelresource.py
index 19930e07..0123e77a 100644
--- a/djangorestframework/modelresource.py
+++ b/djangorestframework/modelresource.py
@@ -2,9 +2,10 @@ from django.forms import ModelForm
from django.db.models.query import QuerySet
from django.db.models import Model
-from djangorestframework.response import status, Response, ResponseException
+from djangorestframework.response import Response, ResponseException
from djangorestframework.resource import Resource
from djangorestframework.validators import ModelFormValidatorMixin
+from djangorestframework import status
import decimal
import inspect