Generalization of specialized models for Django