From: Ɓukasz Rekucki Date: Tue, 25 May 2010 08:03:58 +0000 (+0200) Subject: It's safe to edit accesskey on the list. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/7259f33ebe13b4b61cc9c4b1d5f97d6cd5e79976 It's safe to edit accesskey on the list. --- 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)