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

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -