The docs say you can set trailing_slash=False
but how can you allow both endpoints to work, with or without a trailing slash?
I found the easiest way to do this is just to set up your URLs individually to handle the optional trailing slash, e.g.
from django.urls import re_path
urlpatterns = [
re_path('api/end-point/?$', api.endPointView),
...
Not a DRY solution, but then it's only an extra two characters for each URL. And it doesn't involve overriding the router.