You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

django-tastypie-extras

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-tastypie-extras

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

0.4b4
pipPyPI
Maintainers
1

====================== Django Tastypie extras

.. image:: https://codeclimate.com/github/tomi77/django-tastypie-extras/badges/gpa.svg :target: https://codeclimate.com/github/tomi77/django-tastypie-extras :alt: Code Climate

A set of Django Tastypie extras.

Table of contents

  • Resources_

    • MultipartResourceMixin_
    • ReadOnlyResourceMixin_
  • Paginator_

    • SmartPaginator_
  • Authentication_

    • SwaggerApiKeyAuthentication_

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts