Fallback to module_name if model_name is missing

Prevents breaking django 1.4 and 1.5