Fix __import__ issue when migrating. This is on tastypie master already, unreleased.