DefaultRouter with optional trailing slash and drf-extensions nesting.
| 21 | |
| 22 | |
| 23 | class DefaultRouterPlusPlus(ExtendedDefaultRouter): |
| 24 | """DefaultRouter with optional trailing slash and drf-extensions nesting.""" |
| 25 | |
| 26 | def __init__(self, *args, **kwargs): |
| 27 | super().__init__(*args, **kwargs) |
| 28 | self.trailing_slash = r"/?" |
| 29 | |
| 30 | |
| 31 | class StructuredViewSetMixin(_GenericViewSet): |
no outgoing calls
no test coverage detected
searching dependent graphs…