From a00fd87ac8f6f5c796b20a842913372ee2aabb3f Mon Sep 17 00:00:00 2001 From: Sergey Klyuykov Date: Thu, 16 Mar 2023 11:59:53 -0600 Subject: [PATCH] Fix: Update python version for dj-master branch. Django master branch bumped minimal python version to Python 3.10. In latest version was added check for uniq basename. --- testproj/todo/urls.py | 2 +- tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testproj/todo/urls.py b/testproj/todo/urls.py index 3cf29a15..93925da3 100644 --- a/testproj/todo/urls.py +++ b/testproj/todo/urls.py @@ -8,7 +8,7 @@ router.register(r'another', views.TodoAnotherViewSet) router.register(r'yetanother', views.TodoYetAnotherViewSet) router.register(r'tree', views.TodoTreeView) -router.register(r'recursive', views.TodoRecursiveView) +router.register(r'recursive', views.TodoRecursiveView, basename='todorecursivetree') router.register(r'harvest', views.HarvestViewSet) urlpatterns = router.urls diff --git a/tox.ini b/tox.ini index 6ff0a99e..9fda5c69 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ envlist = py{39,310}-django{40,41}-drf{313,314} py311-django{40,41}-drf314 py38-{lint, docs}, - py39-djmaster + py310-djmaster skip_missing_interpreters = true @@ -18,7 +18,7 @@ skip_missing_interpreters = true # no additional dependencies besides PEP 517 deps = -[testenv:py39-djmaster] +[testenv:py310-djmaster] ignore_outcome = true [testenv]