Skip to main content

A set of Django tastypie extras (Multipart resource, smart paginator, SwaggerUI authentication)

Project description

Code Climate

A set of Django Tastypie extras.

Table of contents

Resources

MultipartResourceMixin

Resource with upload image possibility

ReadOnlyResourceMixin

Raise BadRequest on update, create or delete request.

Paginator

SmartPaginator

SmartPaginator does not perform SELECT COUNT(*) when

  • limit is 0 and offset is 0

  • limit is greater than 0 and offset is 0 and length of self.objects is lower than limit

Authentication

SwaggerApiKeyAuthentication

SwaggerUI provides request authentication only through api_key parameter. SwaggerApiKeyAuthentication reads username and api_key from api_key request parameter.

Fields

DurationField

A field covering models.DurationField. Serializes timedelta values to HH:MM:SS format. Accepts interval strings on input and returns a timedelta object.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_tastypie_extras-0.5.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_tastypie_extras-0.5-py2.py3-none-any.whl (6.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django_tastypie_extras-0.5.tar.gz.

File metadata

  • Download URL: django_tastypie_extras-0.5.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_tastypie_extras-0.5.tar.gz
Algorithm Hash digest
SHA256 5b5f88aab7cca2b46b3fb0ee631af6cba2be7ceb57b811ee0099a8036595260b
MD5 ff583887653f69cc8ebb9039dc1473c8
BLAKE2b-256 56e9cf9beb3f66fc107141c7d9b7bae1e5593508a7cba1b1cb40ec35823e2c8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_tastypie_extras-0.5.tar.gz:

Publisher: python-publish.yml on tomi77/django-tastypie-extras

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_tastypie_extras-0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_tastypie_extras-0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 85a1a747f251b61952410221333e827acbec1ca5be929b5d948d22f30360c549
MD5 0e84323e03d90f46c24bd4cea35c4862
BLAKE2b-256 0fe903e7b370a765de153cfd21121532e7b7bd3ee21997b829a33fa9f8185e30

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_tastypie_extras-0.5-py2.py3-none-any.whl:

Publisher: python-publish.yml on tomi77/django-tastypie-extras

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page