fix imports

These changes allowed me to use the django console