File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,15 @@ jobs:
5050 - " 3.8"
5151 - " 3.9"
5252 django-version :
53- - " 2.2.0"
54- - " 3.2.0"
55- - " 4.0a1"
53+ - " 2.2"
54+ - " 3.2"
55+ - " 4.0"
56+ - " 4.1"
5657 exclude :
5758 - python-version : " 3.7"
58- django-version : " 4.0a1"
59+ django-version : " 4.0"
60+ - python-version : " 3.7"
61+ django-version : " 4.1"
5962 runs-on : ubuntu-latest
6063 steps :
6164 - name : Set up Python ${{ matrix.python-version }}
7679 pip install -e .[test]
7780 pip install django~=${{ matrix.django-version }}
7881 - name : Run tests
79- run : PATH=$PATH:$(pwd)/bin py.test
82+ run : PATH=$PATH:$(pwd)/bin pytest
8083 - run : codecov
8184 env :
8285 CODECOV_TOKEN : ${{secrets.CODECOV_TOKEN}}
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ classifier =
2424 Framework :: Django :: 2.2
2525 Framework :: Django :: 3.1
2626 Framework :: Django :: 4.0
27+ Framework :: Django :: 4.1
2728
2829[options]
2930include_package_data = True
Original file line number Diff line number Diff line change 11import os .path
22
3+ import django
4+
35BASE_DIR = os .path .dirname (os .path .abspath (__file__ ))
46DEBUG = True
57
3739
3840SECRET_KEY = "123456"
3941
40- USE_L10N = True
42+ if django .VERSION < (4 , 0 ):
43+ USE_L10N = True
4144USE_I18N = True
45+ USE_TZ = True
You can’t perform that action at this time.
0 commit comments