mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-25 19:04:21 +00:00
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…
x
Reference in New Issue
Block a user