Not Logged In

django-tastypie-crust 0.2

Tastypie Crust

Your Tastypie just become even tastier.

Rationale

This package is really just a collection of snippets I use constantly with
Tastypie across multiple projects. They are reused so much it just makes more
sense to collect them together than copy-pasting codes everywhere.

None of the snippets in this package originate from myself. The idea of
“resource actions”, in particular, came from tastypie-actions by Justin
Alexander (akathelonecabbage on GitHub), although I re-implemented the
details quite a bit. Some other utilities are mostly collected from snippets
floating around the Internet (StackOverflow, djangosnippets.org, etc.).

Components

Resources

class ActionResourceMixin

Resources subclassing this mixin can have methods decorated with action,
making those methods accessible throught Tastypie API.