Projet

Général

Profil

0002-misc-update-drf-register-call-to-use-basename-keywor.patch

Frédéric Péters, 18 février 2022 10:34

Télécharger (819 octets)

Voir les différences:

Subject: [PATCH 2/2] misc: update drf register call to use basename keyword
 arg (#61951)

 fargo/fargo/api_views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
-