aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTom Christie2011-06-08 01:03:53 +0100
committerTom Christie2011-06-08 01:03:53 +0100
commitc7c1408875909ddb58111a82fd0e8250137d0490 (patch)
tree2fb5c471cb6e957aa1f819f78b41ceb487c71af2 /examples
parent65033a4b847053a41a1922594fdd47c97c418c24 (diff)
downloaddjango-rest-framework-c7c1408875909ddb58111a82fd0e8250137d0490.tar.bz2
Fix example tests
Diffstat (limited to 'examples')
-rw-r--r--examples/blogpost/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/blogpost/tests.py b/examples/blogpost/tests.py
index 3d8804a4..30b152fa 100644
--- a/examples/blogpost/tests.py
+++ b/examples/blogpost/tests.py
@@ -6,6 +6,8 @@ from django.test import TestCase
from django.core.urlresolvers import reverse
from django.utils import simplejson as json
+from djangorestframework.compat import RequestFactory
+
from blogpost import models
import blogpost