fix module loading import for django < 1.7