General django repository