-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from matesaki/django42
add support for Django 4.2
- Loading branch information
Showing
3 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
|
||
setup( | ||
name='django-wayf', | ||
version='0.3.7', | ||
version='0.3.8', | ||
packages=find_packages(), | ||
include_package_data=True, | ||
license='GPL v3', | ||
|
@@ -18,18 +18,22 @@ | |
url='https://github.com/hpcugent/django-wayf', | ||
author='Jens Timmerman', | ||
author_email='[email protected]', | ||
install_requires=['lxml'], | ||
install_requires=[ | ||
'lxml', | ||
'django >= 3.2, < 5', | ||
], | ||
classifiers=[ | ||
'Environment :: Web Environment', | ||
'Framework :: Django', | ||
'Framework :: Django :: 1.8', | ||
'Framework :: Django :: 3.2', | ||
'Framework :: Django :: 4.2', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.6', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.9', | ||
'Topic :: Internet :: WWW/HTTP', | ||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
from django.conf.urls import url | ||
from django.urls import re_path | ||
from wayf.views import wayf, setlanguage | ||
|
||
urlpatterns = [] | ||
|
||
urlpatterns += [ | ||
url(r'^[/]?$', wayf), # work around warning wrt url pattern starting with / | ||
url(r'^setlanguage/(.*)$', setlanguage), | ||
urlpatterns = [ | ||
re_path(r'^[/]?$', wayf), # work around warning wrt url pattern starting with / | ||
re_path(r'^setlanguage/(.*)$', setlanguage), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters