forked from disqus/django-mailviews
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #3 from agroptima/ADJ-7423-upgrade-agroptima-to-dj…
…ango-4-x [ADJ-7423] Upgrade to Django 4.X
- Loading branch information
Showing
4 changed files
with
100 additions
and
82 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
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
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,13 +1,9 @@ | ||
from django.conf.urls import include, url | ||
|
||
from django.urls import re_path | ||
|
||
from mailviews.previews import autodiscover, site | ||
|
||
|
||
autodiscover() | ||
|
||
app_name = 'mailviews' | ||
app_name = "mailviews" | ||
|
||
urlpatterns = [ | ||
url(regex=r'', view=site.urls) | ||
] | ||
urlpatterns = [re_path(route=r"", view=site.urls)] |
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 |
---|---|---|
|
@@ -2,31 +2,32 @@ | |
from setuptools import find_packages, setup | ||
|
||
|
||
setup(name='django-mailviews', | ||
version='0.7.5', | ||
url='http://github.com/disqus/django-mailviews/', | ||
author='ted kaemming', | ||
author_email='[email protected]', | ||
description='Class-based mail views for Django', | ||
setup( | ||
name="django-mailviews", | ||
version="0.7.5", | ||
url="http://github.com/disqus/django-mailviews/", | ||
author="ted kaemming", | ||
author_email="[email protected]", | ||
description="Class-based mail views for Django", | ||
packages=find_packages(), | ||
include_package_data=True, | ||
install_requires=[ | ||
'Django>=2.2.6', | ||
"Django>=4.2.16", | ||
], | ||
test_suite='mailviews.tests.__main__.__main__', | ||
test_suite="mailviews.tests.__main__.__main__", | ||
zip_safe=False, | ||
license='Apache License 2.0', | ||
license="Apache License 2.0", | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Framework :: Django', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache License 2.0', | ||
'Operating System :: OS Independent', | ||
'Topic :: Software Development', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.6', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
] | ||
"Development Status :: 5 - Production/Stable", | ||
"Framework :: Django", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache License 2.0", | ||
"Operating System :: OS Independent", | ||
"Topic :: Software Development", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.6", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.4", | ||
], | ||
) |