0002-misc-update-drf-register-call-to-use-basename-keywor.patch
fargo/fargo/api_views.py | ||
---|---|---|
245 | 245 | |
246 | 246 | |
247 | 247 |
router = routers.SimpleRouter() |
248 |
router.register(r'validation/(?P<document_type>[^/]*)', ValidationAPI, base_name='fargo-api-validation') |
|
248 |
router.register(r'validation/(?P<document_type>[^/]*)', ValidationAPI, basename='fargo-api-validation') |
|
249 |
- |