3 ms·
For a typical setup, you can just use the built in Routers. It's a much cleaner way to handle all the verbs. You can always override functions if you need it to
by riebschlager 10y ago
For a typical setup, you can just use the built in Routers. It's a much cleaner way to handle all the verbs. You can always override functions if you need it to do something special.
http://www.django-rest-framework.org/api-guide/routers/ http://www.django-rest-framework.org/api-guide/routers/