Skip to content

Commit 04134ae

Browse files
committed
ci,tox,README: adjust to django branch master -> main
1 parent 9db6ec8 commit 04134ae

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
python: 3.8
8888
allow_failure: false
8989

90-
- name: py39-djmaster-sqlite-coverage
90+
- name: py39-djmain-sqlite-coverage
9191
python: 3.9
9292
allow_failure: true
9393

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pytest-django allows you to test your Django project/applications with the
2828
<https://pytest-django.readthedocs.io/en/latest/contributing.html>`_
2929
* Version compatibility:
3030

31-
* Django: 2.2, 3.0, 3.1 and latest master branch (compatible at the time of
31+
* Django: 2.2, 3.0, 3.1 and latest main branch (compatible at the time of
3232
each release)
3333
* Python: CPython>=3.5 or PyPy 3
3434
* pytest: >=5.4

pytest_django/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def _django_set_urlconf(request):
516516
def restore():
517517
django.conf.settings.ROOT_URLCONF = original_urlconf
518518
# Copy the pattern from
519-
# https://github.com/django/django/blob/master/django/test/signals.py#L152
519+
# https://github.com/django/django/blob/main/django/test/signals.py#L152
520520
clear_url_caches()
521521
set_urlconf(None)
522522

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ envlist =
1010
[testenv]
1111
extras = testing
1212
deps =
13-
djmaster: https://github.com/django/django/archive/master.tar.gz
13+
djmain: https://github.com/django/django/archive/main.tar.gz
1414
dj32: Django>=3.2b1,<4.0
1515
dj31: Django>=3.1,<3.2
1616
dj30: Django>=3.0,<3.1

0 commit comments

Comments
 (0)