mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 16:24:18 +03:00
Fix example tests
This commit is contained in:
parent
65033a4b84
commit
c7c1408875
|
@ -6,6 +6,8 @@ from django.test import TestCase
|
||||||
from django.core.urlresolvers import reverse
|
from django.core.urlresolvers import reverse
|
||||||
from django.utils import simplejson as json
|
from django.utils import simplejson as json
|
||||||
|
|
||||||
|
from djangorestframework.compat import RequestFactory
|
||||||
|
|
||||||
from blogpost import models
|
from blogpost import models
|
||||||
import blogpost
|
import blogpost
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user