Fix standard urls. Test for Django up to 5.0. master 24.6
authorRadek Czajka <rczajka@rczajka.pl>
Sat, 15 Jun 2024 10:30:35 +0000 (12:30 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Sat, 15 Jun 2024 10:30:35 +0000 (12:30 +0200)
cas_provider/urls.py
setup.py
tox.ini

index 6f479fe..7f32a48 100644 (file)
@@ -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'),
 ]
index 0e7c402..b5c3ae0 100644 (file)
--- 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 (file)
--- 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