> How to make sure that *ONLY:* > *GET *Requests can *ONLY *be route with the "api/get/article/" route. > *POST *Requests can *ONLY *be route with the "api/post/article/" route
In short: Don't do that. Just route "/api/article/' to the view and be done with it. If you must separate out each individual view method then have them as separate views (with a common base subclass if you need to share some common aspects) -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
