Skip to main content

Django Get Once

A Django Rest Framework Mixin for viewsets that only allows you to retrieve an object exactly once.

Installation

From PYPi using pip:

pip install django-get-once

Usage

Can only be used with ViewSets:

from get_once import GetOnceMixin
from rest_framework.viewset import GenericViewSet

class MyViewSet(GetOnceMixin, GenericViewSet):
    [...]

Licence

This package is distributed under MIT Licence.

Metadata

Release files for django-get-once 1.0.0

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

Built distribution (wheel)

Table of built distributions (wheels) for django-get-once 1.0.0
File Interpreter ABI Platform
django_get_once-1.0.0-py3-none-any.whl Python 3 none any Details

Release files / django_get_once-1.0.0-py3-none-any.whl

Download URL django_get_once-1.0.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe36b4039d80bb4d807045880f986d43bb62a315bbefbde416abd336ccaca6e6
BLAKE2b-256 checksum
How to use checksums
4162d03c6409d1624b1af01ecec3f718b305643e226be50405e8968775352102
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

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