This is a customized djangosaml2 core.  It's needed to handle this bug: https://bitbucket.org/lgs/djangosaml2/pull-request/9/djangoconfurlsdefaults-is-deprecated-in/diff