Fix import in django dispatcher