Split Django and Tastypie into separate files