Skip to main content

django-staff-view

Generic non-model related admin views for Django.

Rationale

Define admin views for Django admin not tied to a ModelAdmin.

Support

Supports: Python 3.10.

Supports Django Versions: 4.2.9

Installation

$ pip install django-staff-view

Usage

Add staff_views to INSTALLED_APPS.

Import the view class from the package, and subclass it like this:

from django import forms
from staff_view.views import StaffView


class MyForm(forms.Form):
    
    text = forms.CharField()
    
    
class MyView(StaffView):

    form_class = MyForm

    def form_valid(self, form):
        ...  # Return a response object

Metadata

Release files for django-staff-view 1.0.3

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-staff-view 1.0.3
File Size Uploaded Provenance
django_staff_view-1.0.3.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-staff-view 1.0.3
File Interpreter ABI Platform
django_staff_view-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / django_staff_view-1.0.3.tar.gz

Download URL django_staff_view-1.0.3.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3ba6d36f96c2cfc6f8398dc0f67fd3a05a717b9ef1bd719de0b8b975cffd81d0
BLAKE2b-256 checksum
How to use checksums
e26f5785fae86213b09130aa335296b0da860bcbd279d3864386b5175aa61e68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.2

Release files / django_staff_view-1.0.3-py3-none-any.whl

Download URL django_staff_view-1.0.3-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c1fbf1aeff22b240c7dc6e0b8e35e138e3a244490661ab258e7ddf7e76a6fe7
BLAKE2b-256 checksum
How to use checksums
a566e560bb728f9e5374de37af5bee297dc75e69df17a49d74375533edbef74c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.2

Security for django-staff-view 1.0.3

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