Removed redirect_endpoint from urls.py