Skip to content

Commit

Permalink
Fix: Update python version for dj-master branch.
Browse files Browse the repository at this point in the history
Django master branch bumped minimal python version
to Python 3.10. In latest version was added check for uniq basename.
  • Loading branch information
onegreyonewhite committed Mar 16, 2023
1 parent 83aa352 commit a00fd87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testproj/todo/urls.py
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Expand Up @@ -10,15 +10,15 @@ 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

[testenv:.package]
# no additional dependencies besides PEP 517
deps =

[testenv:py39-djmaster]
[testenv:py310-djmaster]
ignore_outcome = true

[testenv]
Expand Down

0 comments on commit a00fd87

Please sign in to comment.