X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/24c1d259ba4af084959d70c6a1f355d0a57f1191..e59fb224da39822620eefe8171d8ecad2c69cda6:/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)