It's safe to edit accesskey on the list.
authorŁukasz Rekucki <lrekucki@gmail.com>
Tue, 25 May 2010 08:03:58 +0000 (10:03 +0200)
committerŁukasz Rekucki <lrekucki@gmail.com>
Tue, 25 May 2010 08:03:58 +0000 (10:03 +0200)
.gitignore
apps/toolbar/admin.py

index a926b1a..a1290ed 100644 (file)
@@ -6,6 +6,9 @@ requirements.pybundle
 # Python garbage
 *.pyc
 .coverage
+coverage.xml
+nosetests.xml
+pip-log.txt
 
 # Mac OS X garbage
 .DS_Store
index 6f69fb9..283ab78 100644 (file)
@@ -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)