Skip to content

Commit

Permalink
Add support for Django 4.2. Fix #84
Browse files Browse the repository at this point in the history
  • Loading branch information
nitmir committed Sep 13, 2023
1 parent 97e3b34 commit 37e310c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ All notable changes to this project will be documented in this file.
.. contents:: Table of Contents
:depth: 2

Unreleased
==========

Added
-----

* Support for Django 4.2


v2.0.0 - 2022-10-17
===================

Expand Down
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ Features
* Possibility to rename/rewrite attributes per service
* Possibility to require some attribute values per service
* Federated mode between multiple CAS
* Supports Django 1.11, 2.2, 3.2, 4.0 and 4.1
* Supports Django 1.11, 2.2, 3.2, 4.2
* Supports Python 3.6+

Dependencies
============

``django-cas-server`` depends on the following python packages:

* Django >= 1.11 < 4.2
* Django >= 1.11 < 4.3
* requests >= 2.4
* requests_futures >= 0.9.5
* lxml >= 3.4
Expand Down Expand Up @@ -146,12 +146,12 @@ Quick start

2. Include the cas_server URLconf in your project urls.py like this::

from django.conf.urls import url, include
from django.urls import path, include

urlpatterns = [
url(r'^admin/', admin.site.urls),
path('admin/', admin.site.urls),
...
url(r'^cas/', include('cas_server.urls', namespace="cas_server")),
path('cas/', include('cas_server.urls', namespace="cas_server")),
]

3. Run ``python manage.py migrate`` to create the cas_server models.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django >= 1.11,<4.2
Django >= 1.11,<4.3
setuptools>=5.5
requests>=2.4
requests_futures>=0.9.5
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.2',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
Expand All @@ -61,7 +61,7 @@
},
keywords=['django', 'cas', 'cas3', 'server', 'sso', 'single sign-on', 'authentication', 'auth'],
install_requires=[
'Django >= 1.11,<4.2', 'requests >= 2.4', 'requests_futures >= 0.9.5',
'Django >= 1.11,<4.3', 'requests >= 2.4', 'requests_futures >= 0.9.5',
'lxml >= 3.4', 'six >= 1'
],
url="https://github.com/nitmir/django-cas-server",
Expand Down

0 comments on commit 37e310c

Please sign in to comment.