Skip to main content

Simple viewset for models CRUD operations.

# myapp/models.py
from django.db import models

class MyModel(models.Model):
    ...
    class Meta:
        ...
        default_permissions = ('add', 'change', 'delete', 'read')
# myapp/views.py
from viewset import ModelViewSet
from .models import MyModel

class MyModelViewSet(ModelViewSet):
    model = MyModel
# myapp/urls.py
from django.conf.urls import include
from myapp.views import MyModelViewSet

urlpatterns = [
    url(r'', include(MyModelViewSet().urls())),
]
# settings.py
INSTALLED_APPS = [
    'simple_viewset',
]

Metadata

Release files for django-simple-viewset 0.1.11

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

Source distribution (sdist)

Source distribution for django-simple-viewset 0.1.11
File Size Uploaded Provenance Actions
django-simple-viewset-0.1.11.tar.gz 8.3 kB Without provenance Details for django-simple-viewset-0.1.11.tar.gz

Release files / django-simple-viewset-0.1.11.tar.gz

Download URL django-simple-viewset-0.1.11.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
56ec9ac1bdc3b112d7e4f0e7cd93b478f8f9af844e592766dcb19fd244ddef6d
BLAKE2b-256 checksum
How to use checksums
5240f874020810e8948107c11ee53f8add930f5bdd349b62d5cd27b5948699be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-simple-viewset 0.1.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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