X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/24c1d259ba4af084959d70c6a1f355d0a57f1191..0a08ba4250b13d7804118703aa0acca6a1a1703c:/apps/toolbar/admin.py diff --git a/apps/toolbar/admin.py b/apps/toolbar/admin.py index 6f69fb94..ea87936a 100644 --- a/apps/toolbar/admin.py +++ b/apps/toolbar/admin.py @@ -22,9 +22,9 @@ 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) -admin.site.register(models.ButtonGroup) -admin.site.register(models.Scriptlet) +#admin.site.register(models.Button, ButtonAdmin) +#admin.site.register(models.ButtonGroup) +#admin.site.register(models.Scriptlet)