Upgraded init mechanism to Django 1.7