Skip to content

Commit 81eb565

Browse files
committed
Drop support for Django 1.11.
1 parent 4475e2d commit 81eb565

File tree

5 files changed

+8
-15
lines changed

5 files changed

+8
-15
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,8 @@ jobs:
1616
matrix:
1717
os: ['ubuntu-latest']
1818
python: ['3.7', '3.8', '3.9']
19-
framework: ['django~=1.11.0', 'django~=2.2.0', 'django~=3.0.0', 'django~=3.1.0', 'django~=3.2.0', 'django~=4.0.0', 'flask~=1.0.0', 'flask~=1.1.0', 'flask~=2.0.0']
19+
framework: ['django~=2.2.0', 'django~=3.0.0', 'django~=3.1.0', 'django~=3.2.0', 'django~=4.0.0', 'flask~=1.0.0', 'flask~=1.1.0', 'flask~=2.0.0']
2020
exclude:
21-
- os: 'ubuntu-latest'
22-
python: '3.8'
23-
framework: 'django~=1.11.0'
24-
- os: 'ubuntu-latest'
25-
python: '3.9'
26-
framework: 'django~=1.11.0'
2721
- os: 'ubuntu-latest'
2822
python: '3.7'
2923
framework: 'django~=4.0.0'

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ the `soapfish` fork.
4949
- Attempts to fix handling of remote vs local imports.
5050
- **Miscellaneous:**
5151
- Renamed `SoapboxRequest` and `SoapboxResponse` to `SOAPRequest` and `SOAPResponse` respectively.
52-
- Support Python 3.7+, Django 1.11, 2.2, 3.0, 3.1, 3.2 & 4.0, and Flask 1.0, 1.1 & 2.0
52+
- Support Python 3.7+, Django 2.2, 3.0, 3.1, 3.2 & 4.0, and Flask 1.0, 1.1 & 2.0
5353
- Improved testing against different versions of Python, Django & Flask.
5454
- Improved entry points for generation scripts - additional flags, etc.
5555
- Moved to using an external dependency for `iso8601`

examples/stock/urls.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from django.conf.urls import url
1+
from django.urls import path
22

33
urlpatterns = [
4-
url(r'^stock/soap11$', 'stock.web.views.dispatch11'),
5-
url(r'^stock/soap12$', 'stock.web.views.dispatch12'),
6-
url(r'^ws/ops$', 'stock.web.views.ops_dispatch'),
4+
path('stock/soap11', 'stock.web.views.dispatch11'),
5+
path('stock/soap12', 'stock.web.views.dispatch12'),
6+
path('ws/ops', 'stock.web.views.ops_dispatch'),
77
]

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ classifiers =
1818
Environment :: Console
1919
Environment :: Web Environment
2020
Framework :: Django
21-
Framework :: Django :: 1.11
2221
Framework :: Django :: 2.2
2322
Framework :: Django :: 3.0
2423
Framework :: Django :: 3.1

tests/framework/django_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
USE_I18N=False,
2222
USE_TZ=True,
2323
)
24-
from django.conf.urls import url
2524
from django.test import Client
25+
from django.urls import path
2626

2727
urlconf = collections.namedtuple('urlconf', 'urlpatterns')
2828

@@ -32,7 +32,7 @@ class DjangoDispatchTest(framework.DispatchTestMixin, unittest.TestCase):
3232

3333
def setUp(self): # noqa
3434
self.service = echo_service()
35-
settings.ROOT_URLCONF = urlconf(urlpatterns=(url(r'^ws/$', django_dispatcher(self.service)),))
35+
settings.ROOT_URLCONF = urlconf(urlpatterns=(path('ws/', django_dispatcher(self.service)),))
3636
self.client = Client()
3737

3838
def _prepare_extras(self, headers):

0 commit comments

Comments
 (0)