urls: update urlpatterns for django 1.11
This commit is contained in:
parent
f6ab6ba4c5
commit
f654df71c8
|
@ -14,12 +14,12 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from django.conf.urls import patterns, url, include
|
||||
from django.conf.urls import url, include
|
||||
|
||||
from . import views
|
||||
|
||||
urlpatterns = patterns('',
|
||||
urlpatterns = [
|
||||
url(r'^accounts/saml/', include('mellon.urls')),
|
||||
url(r'^accounts/fedict/login/$', views.login, name='fedict-login'),
|
||||
url(r'^accounts/fedict/register/(?P<token>[a-zA-Z0-9:_-]+)/$', views.registration, name='fedict-registration'),
|
||||
)
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue