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.

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.

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.4b4.tar.gz (4.0 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page