Skip to main content
https://travis-ci.org/uranusjr/django-tastypie-crust.png?branch=master

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 (aka thelonecabbage 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.

action(name=None, url=None, static=False,
       allowed=None, login_required=False, throttled=False)

Decorator that makes extra resource methods accessible through Tastypie API.

Authentication

class AnonymousAuthentication

Authentication policy that only allows certain request methods go through anonymously.

Example

Some example usages can be found inside testproj/testapp/resources.py.

License

BSD 3-cluse license. See file LICENSE for its content.

Contributing

To run tests in this project, you need django-nose and coverage along with obvious dependencies. Run python testproj/manage.py test in the project root to invoke tests.

Metadata

Release files for django-tastypie-crust 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-tastypie-crust 0.2
File Size Uploaded Provenance
django-tastypie-crust-0.2.tar.gz 5.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-tastypie-crust 0.2
File Interpreter ABI Platform
django_tastypie_crust-0.2-py27-none-any.whl Python 2.7 none any Details

Total release size: 13.5 kB

Release files / django-tastypie-crust-0.2.tar.gz

Download URL django-tastypie-crust-0.2.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
88e31d7e035b029015c5fec052f012bcb88cd2c8abb493a8ac5e3735bb0aed1b
BLAKE2b-256 checksum
How to use checksums
1ecc75b36443a8deb9e6d23a97da09959ad62470d9ba91d04b597682e626b3dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_tastypie_crust-0.2-py27-none-any.whl

Download URL django_tastypie_crust-0.2-py27-none-any.whl
Size 7.8 kB
Tags Python 2.7
SHA-256 checksum
How to use checksums
bc7a0fd8379731e68c6eadff2e668c17771a415883e94fad9c73268467abd1b9
BLAKE2b-256 checksum
How to use checksums
45a99c98bf8dcaa184b6fff4bd2ff8df2cc716ffe61bd299bebf8a23d35df1f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-tastypie-crust 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page