Fix django import outside __init__