Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
Support django 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gorobets-da committed Aug 13, 2018
1 parent a785e3f commit 197fca4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion saml2idp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
from django.core.validators import URLValidator
from django.contrib.auth.decorators import login_required
from django.core.exceptions import ImproperlyConfigured, ValidationError
from django.core.urlresolvers import reverse
try:
from django.core.urlresolvers import reverse
except ImportError:
from django.urls import reverse
from django.utils.datastructures import MultiValueDictKeyError
from django.shortcuts import render, redirect
from django.http import HttpResponseBadRequest, HttpResponseRedirect
Expand Down

0 comments on commit 197fca4

Please sign in to comment.