From: Radek Czajka Date: Sat, 15 Jun 2024 10:30:35 +0000 (+0200) Subject: Fix standard urls. Test for Django up to 5.0. X-Git-Tag: 24.6 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/refs/heads/master?ds=inline Fix standard urls. Test for Django up to 5.0. --- diff --git a/cas_provider/urls.py b/cas_provider/urls.py index 6f479fe..7f32a48 100644 --- a/cas_provider/urls.py +++ b/cas_provider/urls.py @@ -4,11 +4,11 @@ from cas_provider import views urlpatterns = [ path('login/merge/', views.login, {'merge': True, 'template_name': 'cas/merge.html'}), - path('login/', views.login, name='cas_login'), + path('login', views.login, name='cas_login'), path('socialauth-login/', views.login, name='cas_socialauth_login'), - path('validate/', views.validate, name='cas_validate'), - path('proxy/', views.proxy, name='proxy'), - path('serviceValidate/', views.service_validate, name='cas_service_validate'), - path('proxyValidate/', views.proxy_validate, name='cas_proxy_validate'), - path('logout/', views.logout, name='cas_logout'), + path('validate', views.validate, name='cas_validate'), + path('proxy', views.proxy, name='proxy'), + path('serviceValidate', views.service_validate, name='cas_service_validate'), + path('proxyValidate', views.proxy_validate, name='cas_proxy_validate'), + path('logout', views.logout, name='cas_logout'), ] diff --git a/setup.py b/setup.py index 0e7c402..b5c3ae0 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ def read(fname): setup( name='django-cas-provider', - version='23.3', + version='24.6', description='A "provider" for the Central Authentication Service (http://jasig.org/cas)', author='(Chris Williams), Sebastian Annies', author_email='(chris@nitron.org), sebastian.annies@googlemail.com', @@ -17,7 +17,7 @@ setup( long_description=read('README.rst'), zip_safe=False, install_requires=[ - 'Django>=2.0,<4.2', + 'Django>=2.0,<5.1', 'lxml', ], classifiers = [ diff --git a/tox.ini b/tox.ini index da84103..2a0de15 100644 --- a/tox.ini +++ b/tox.ini @@ -7,6 +7,8 @@ envlist=clear, d32-py{37,38,39,310}, d40-py{38,39,310}, d41-py{38,39,310,311}, + d42-py{38,39,310,311,312}, + d50-py{310,311,312}, stats [testenv] @@ -21,6 +23,8 @@ deps= d32: Django>=3.2,<4.0 d40: Django>=4.0,<4.1 d41: Django>=4.1,<4.2 + d42: Django>=4.2,<5.0 + d50: Django>=5.0,<5.1 coverage usedevelop=True