eldarion/django-mass-edit

Name: django-mass-edit

Owner: Eldarion, Inc.

Description: Make bulk changes in the Django admin interface

Created: 2015-04-24 15:56:07.0

Updated: 2015-04-24 16:23:59.0

Pushed: 2015-04-24 16:23:59.0

Homepage: null

Size: 195

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

From Stanislaw Adaszewski's blog. I've fixed bugs and made changes to make it a production friendly drop-in Django app for bulk changes in Django's admin interface.

Check off what you want to edit in list view then choose mass edit from the actions menu. Image was taken using Grappelli

Alt text

Features

Not implemented

Installation

  1. pip install django-mass-edit
  2. In settings.py, add massadmin to installed apps
  3. In settings.py, uncomment/add django.template.loaders.eggs.Loader in TEMPLATE_LOADERS section
  4. Add (r'^admin/', include("massadmin.urls")), to urls.py
Optional

You may exclude some fields like this:

class PollAdmin(admin.ModelAdmin):
    massadmin_exclude = ['user', ]

You can also add or remove the “action” to models if you don't want it global. See Django Docs on the subject


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.