remove api imports (fixes django_digest tests, though is tenuous)