Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django router multiple pk

router.register(prefix=r'requestsbyuser/(?P<user_id>d+)', viewset=views.RequestsByUser, base_name='request')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #router #multiple #pk
ADD COMMENT
Topic
Name
8+1 =