mirror of https://github.com/scrapy/scrapy.git
use explicit relative import on djangoitem tests
--HG-- extra : rebase_source : f4f72679106bd9f72ddd9ee7d1f27209248f59be
This commit is contained in:
parent
884f0c878f
commit
7cb546ba28
|
|
@ -11,7 +11,7 @@ except ImportError:
|
|||
django = None
|
||||
|
||||
if django:
|
||||
from models import Person
|
||||
from .models import Person
|
||||
else:
|
||||
Person = None
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue