Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
django-readedit-switch-admin
Advanced tools
Read item detail first, and click the Edit switch button to turn to edit view.
Read item detail first, and click the Edit switch button to turn to edit view.
pip install django-readedit-switch-admin
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)
FAQs
Read item detail first, and click the Edit switch button to turn to edit view.
We found that django-readedit-switch-admin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.