Base for django backend