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)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|