From 7259f33ebe13b4b61cc9c4b1d5f97d6cd5e79976 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Tue, 25 May 2010 10:03:58 +0200 Subject: [PATCH] It's safe to edit accesskey on the list. --- .gitignore | 3 +++ apps/toolbar/admin.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a926b1ad..a1290ede 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,9 @@ requirements.pybundle # Python garbage *.pyc .coverage +coverage.xml +nosetests.xml +pip-log.txt # Mac OS X garbage .DS_Store diff --git a/apps/toolbar/admin.py b/apps/toolbar/admin.py index 6f69fb94..283ab782 100644 --- a/apps/toolbar/admin.py +++ b/apps/toolbar/admin.py @@ -22,7 +22,7 @@ class ButtonAdmin(admin.ModelAdmin): form = ButtonAdminForm list_display = ('slug', 'label', 'tooltip', 'accesskey') list_display_links = ('slug',) - list_editable = ('label', 'tooltip',) + list_editable = ('label', 'tooltip', 'accesskey') prepopulated_fields = {'slug': ('label',)} admin.site.register(models.Button, ButtonAdmin) -- 2.20.1