Django Tastypie - URL Prepend Not Working

I tried using the prepend_url() function, similar to the tastypie cookbook search example. For some reason, the browser returned only 404, and nothing else happens ...

+4
source share
1 answer

The cookbook refers to version 0.9.12, which is just an alpha version. The prepend_urls() function is not implemented in older versions. Therefore, the function simply is not called and does not cause an error message.

So you need to set alpha or use override_urls() function ( documentation )

+7
source

All Articles