Skip to content

Run tests against Django 4.x #361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/ext/django/app/views.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sqlite3

from django.http import HttpResponse
from django.conf.urls import url
from django.urls import path
from django.views.generic import TemplateView


Expand Down Expand Up @@ -32,9 +32,9 @@ def call_db(request):


urlpatterns = [
url(r'^200ok/$', ok, name='200ok'),
url(r'^500fault/$', fault, name='500fault'),
url(r'^call_db/$', call_db, name='call_db'),
url(r'^template/$', IndexView.as_view(), name='template'),
url(r'^template_block/$', TemplateBlockView.as_view(), name='template_block'),
path('200ok/', ok, name='200ok'),
path('500fault/', fault, name='500fault'),
path('call_db/', call_db, name='call_db'),
path('template/', IndexView.as_view(), name='template'),
path('template_block/', TemplateBlockView.as_view(), name='template_block'),
]
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ envlist =
; Django3 is only for python 3.6+
py{36,37,38,39}-ext-django-3

; Django4 is only for python 3.8+
py{38,39}-ext-django-4

py{27,34,35,36,37,38,39}-ext-flask

py{27,34,35,36,37,38,39}-ext-flask_sqlalchemy
Expand Down Expand Up @@ -98,6 +101,7 @@ deps =

ext-django-2: Django >=2.0,<3.0
ext-django-3: Django >=3.0,<4.0
ext-django-4: Django >=4.0,<5.0
ext-django: django-fake-model

ext-pynamodb: pynamodb >= 3.3.1
Expand Down