Skip to content

Commit 8826c7b

Browse files
committed
Resolve deprecation errors and add Django 3.2 ci suite
1 parent bcd9122 commit 8826c7b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888
django-version:
8989
- "2.2"
9090
- "3.1"
91+
- "3.2rc1"
9192
steps:
9293
- name: Set up Python ${{ matrix.python-version }}
9394
uses: actions/[email protected]

setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifier =
2626
Framework :: Django
2727
Framework :: Django :: 2.2
2828
Framework :: Django :: 3.1
29+
Framework :: Django :: 3.2
2930

3031
python_requires = >=3.7
3132

@@ -60,7 +61,9 @@ test = pytest
6061
[tool:pytest]
6162
norecursedirs=venv env .eggs
6263
DJANGO_SETTINGS_MODULE=tests.settings
63-
addopts = --cov=stdimage --nomigrations
64+
addopts = --cov=stdimage --nomigrations --tb=short
65+
filterwarnings =
66+
error
6467

6568
[coverage:run]
6669
source = .

tests/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
from django.conf.urls import url
21
from django.contrib import admin
2+
from django.urls import path
33

44
admin.autodiscover()
55

66
urlpatterns = [
7-
url(r"^admin/", admin.site.urls),
7+
path("admin/", admin.site.urls),
88
]

0 commit comments

Comments
 (0)