Skip to content

Commit

Permalink
Add tox config for Django 5 and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kmorey committed Dec 16, 2024
1 parent c40977e commit c2812d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# uuid routes
(
router.register(r'users-by-uuid', UserViewSetWithUUIDLookup)
router.register(r'users-by-uuid', UserViewSetWithUUIDLookup, basename='users-by-uuid')
.register(r'groups', GroupViewSet, 'users-group-uuid', parents_query_lookups=['user_groups__code'])
)

Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
envlist = py{38,39}-django{22}-drf{311,312}
py{38,39,310,311,312}-django{32}-drf{312,313,314}
py{38,39,310,311,312}-django{42}-drf{314}
py{310,311,312}-django{50}-drf{314}


[testenv]
Expand All @@ -19,7 +20,8 @@ deps=
django22: Django>=2.2,<3.0
django32: Django>=3.2,<4.0
django42: Django>=4.2,<5.0

django50: Django>=5.0,<5.1


setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/tests_app
Expand Down

0 comments on commit c2812d4

Please sign in to comment.