I have a django app called customer. Inside customer.models
I have some model classes one of them is Tooth. I also created a new python file inside my app's directory called callbacks.py to store some callback functions for some signlas. What I do is the following
from customer.models import Tooth
def callback(sender, **kwargs)
#using Tooth here
and on models.py
from customer.callbacks import callback
#.....
post_save.connect(callback, sender=Customer)
But when I try to run sqlall I get an import error
from customer.models import Tooth
ImportError: cannot import name Tooth
Everything else all other imports work normally.
EDIT: Using Django 1.6 version