django-readedit-switch-admin
Read item detail first, and click the Edit switch button to turn to edit view.
Install
pip install django-readedit-switch-admin
Usage
pro/settings.py
INSTALLED_APPS = [
...
'django_readedit_switch_admin',
...
]
app/admin.py
from django.contrib import admin
from .models import Category
from .models import Book
from django_readedit_switch_admin.admin import DjangoReadEditSwitchAdmin
class BookInline(admin.TabularInline):
model = Book
class CategoryAdmin(DjangoReadEditSwitchAdmin, admin.ModelAdmin):
list_display = ["pk", "name"]
list_editable = ["name"]
inlines = [
BookInline
]
admin.site.register(Category, CategoryAdmin)
Releases
v0.1.0
- First release.
v0.1.1
- Fix add/change/delete permission problem in changelist view. Changelist view should obey the real permission.
v0.1.2
- Don't check is_edit_view in getting add and delete permissions.
v0.2.0
- App rename to django_readedit_switch_admin.
v0.3.0
- Fix django_readedit_switch_admin.apps' verbose_name.
- Rename DjangoReadEditSwitchAdminMixin to DjangoReadEditSwitchAdmin. It's NOT good to add mixin suffix.
v0.4.0
- Rename django_readedit_switch_admin.html to change_form.html, so that it can be override by other applications.
v0.4.1
- Fix problem for all NONE DjangoReadeditSwitchAdmins.
v0.4.2
- Fix block.super spell mistake.
v0.4.3
- Use jquery.js shipped with django, and control js loading order.
v0.4.4
- Fix edit problem with _changelist_filters.
v0.4.5
- Fix has_add_permission problem.
- Test in Django 3.2.
v0.4.6
- Doc update.
v0.4.7
- Fix js error in latest django versions.
v0.4.8
- doc update.
Metadata
Release files for django-readedit-switch-admin 0.4.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_readedit_switch_admin-0.4.8.tar.gz | 7.1 kB | Without provenance | Details for django_readedit_switch_admin-0.4.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_readedit_switch_admin-0.4.8-py3-none-any.whl | Python 3 | none | any | Details for django_readedit_switch_admin-0.4.8-py3-none-any.whl |
Total release size: 14.9 kB
Release files / django_readedit_switch_admin-0.4.8.tar.gz
| Download URL | django_readedit_switch_admin-0.4.8.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e31bb96e36acff0a252e832ed1d7d85540d7624cfd76bc34ab515d678666047b
|
|
BLAKE2b-256 checksum How to use checksums |
8f5fff5c75e5cb4fc8eb1195e7185cec627b137fc188f65bf5c6607253ede2f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.12
|
Release files / django_readedit_switch_admin-0.4.8-py3-none-any.whl
| Download URL | django_readedit_switch_admin-0.4.8-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a86e08cbcc016a7b573d9a8a555b598c55ed424559de220516ed71d6636d6d9a
|
|
BLAKE2b-256 checksum How to use checksums |
6bbf73d3358e8e8e737766eeb6a5c52a9a5f84659598bd88d5f49cb62a6045e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.12
|
Security for django-readedit-switch-admin 0.4.8
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.