python - Writing a custom router in Django Rest Framework -


I am reapplying my existing code-base to my API. I have a structure where the URL can have any part of "Lookup" (such as /api/{lookup1}/{lookup2}/.../{lookupN}) you can see it as a regular file path Can Think In Computer File System?

At the moment I just instructs the request in the APIView that breaks the URL and searches on the basis of the request URL. However, now I read more about the DRF router and think I can use this system to work again using router.

I am now studying the router, but in reality it did not understand that I requested the request "intercept" and then


Comments

Popular posts from this blog

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -