All Projects → lukasvinclav → django-admin-actions

lukasvinclav / django-admin-actions

Licence: MIT license
Display Django admin custom actions in changelist, changeview or per row in changelist.

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to django-admin-actions

Django Admin Bootstrap
Responsive Theme for Django Admin With Sidebar Menu
Stars: ✭ 787 (+2523.33%)
Mutual labels:  admin, django-admin
django-restful-admin
Django admin restful api
Stars: ✭ 51 (+70%)
Mutual labels:  admin, django-admin
Django Antd Tyadmin
类似 xadmin 的基于Model 快速生成前后台管理增删改查,筛选,搜索的后台管理自动化工具。Antd 界面好看现代化!前后端分离!无损二次开发!由Django Restful Framework 和 Ant Design Pro V4 驱动
Stars: ✭ 171 (+470%)
Mutual labels:  admin, django-admin
Django Cruds Adminlte
django-cruds is simple drop-in django app that creates CRUD for faster prototyping
Stars: ✭ 373 (+1143.33%)
Mutual labels:  admin, django-admin
Django Admin Numeric Filter
Numeric filters for Django admin
Stars: ✭ 46 (+53.33%)
Mutual labels:  admin, django-admin
Django Material Admin
Material design for django administration
Stars: ✭ 163 (+443.33%)
Mutual labels:  admin, django-admin
django admin chart js
An example repo showing how to add Chart.js to Django admin
Stars: ✭ 35 (+16.67%)
Mutual labels:  admin, django-admin
element-plus-admin
基于vite+ts+elementPlus
Stars: ✭ 361 (+1103.33%)
Mutual labels:  admin
CSArp-Netcut
An arpspoof program using Sharppcap
Stars: ✭ 93 (+210%)
Mutual labels:  admin
SonataAdminSearchBundle
[Abandoned] Implement Search Engine (ElasticSearch) inside Sonata Admin
Stars: ✭ 19 (-36.67%)
Mutual labels:  admin
ant-back-server
🚀 react后台,后台管理系统——后端(Koa)实现
Stars: ✭ 26 (-13.33%)
Mutual labels:  admin
Inventory-Barang
Source Code Website Penyimpanan Barang Di Bangun Menggunakan Bahasa Pemrogramman Php Procedural Dan Database Mysql Sebagai Penyimpanan Database. (Ada Perbaikan)
Stars: ✭ 12 (-60%)
Mutual labels:  admin
generator-antd-pro
An easy way to build your ant-design-pro application.
Stars: ✭ 34 (+13.33%)
Mutual labels:  admin
bingo
一个基于golang的serveless 的低代码平台。可以快速的构建基于微服务和数据库的管理类应用。内置了权限、流程、表单引擎等基础功能。
Stars: ✭ 52 (+73.33%)
Mutual labels:  admin
vue-element-admin-ts
vue-element-admin 的 typescript 版本
Stars: ✭ 101 (+236.67%)
Mutual labels:  admin
moonlight-admin
Easy to use admin panel, designed for cheat loaders.
Stars: ✭ 29 (-3.33%)
Mutual labels:  admin
web2admin
web2py administration plugin
Stars: ✭ 27 (-10%)
Mutual labels:  django-admin
django-streamfield
This is a simple realisation of StreamField's idea from Wagtail CMS for plain Django admin or with Grappelli skin.
Stars: ✭ 62 (+106.67%)
Mutual labels:  django-admin
Feedback-bot
In Short This is An Personalized Livegram Bot Made Using Python.. Follow Me @HeimanPictures & Star This Repo
Stars: ✭ 23 (-23.33%)
Mutual labels:  admin
vue-admin
An open source frontend Framework for building admin applications running in the browser on top of REST, using ES6 and Vue.js
Stars: ✭ 125 (+316.67%)
Mutual labels:  admin

Screenshot

django-admin-actions

django-admin-actions provides simple way how to define custom actions for Django admin changelist, changeview and per row in changelist.

Getting started

  1. Installation
pip install django-admin-actions
pip install git+https://[email protected]/lukasvinclav/django-admin-actions.git
  1. Add admin_actions into INSTALLED_APPS in your settings file before django.contrib.admin.

Sample admin configuration

from django.contrib import admin
from django.shortcuts import redirect
from django.urls import reverse_lazy
from django.utils.translations import ugettext_lazy as _

from admin_actions.admin import ActionsModelAdmin

from .models import ExampleModel


@admin.register(ExampleModel)
class CustomAdmin(ActionsModelAdmin):
    actions_list = ('custom_list_action', )
    actions_row = ('custom_row_action', )
    actions_detail = ('custom_detail_action', )

    def custom_list_action(self, request):
        # custom logic here
        return redirect(reverse_lazy('admin:APP_MODEL_changelist'))
    custom_list_action.short_description = _('Custom name')
    custom_list_action.url_path = 'clean-url-path-1'

    def custom_row_action(self, request, pk):
        # custom logic here
        return redirect(reverse_lazy('admin:APP_MODEL_changelist'))
    custom_row_action.short_description = _('Row custom name')
    custom_row_action.url_path = 'clean-url-path-2'

    def custom_detail_action(self, request, pk):
        # custom logic here
        return redirect(reverse_lazy('admin:APP_MODEL_changelist'))
    custom_detail_action.short_description = _('Detail custom name')
    custom_detail_action.url_path = 'clean-url-path-3'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].