mixin for django projects