Staff views for Django
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_staff_view-1.0.3.tar.gz.
File metadata
- Download URL: django_staff_view-1.0.3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ba6d36f96c2cfc6f8398dc0f67fd3a05a717b9ef1bd719de0b8b975cffd81d0
|
|
| MD5 |
fe44ceda12ad5ba99ebec86d9724438e
|
|
| BLAKE2b-256 |
e26f5785fae86213b09130aa335296b0da860bcbd279d3864386b5175aa61e68
|
File details
Details for the file django_staff_view-1.0.3-py3-none-any.whl.
File metadata
- Download URL: django_staff_view-1.0.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c1fbf1aeff22b240c7dc6e0b8e35e138e3a244490661ab258e7ddf7e76a6fe7
|
|
| MD5 |
804775d2c02094fd9f04a8c5168823f7
|
|
| BLAKE2b-256 |
a566e560bb728f9e5374de37af5bee297dc75e69df17a49d74375533edbef74c
|