fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cover quick import.
[redakcja.git]
/
src
/
toolbar
/
admin.py
diff --git
a/src/toolbar/admin.py
b/src/toolbar/admin.py
index
0cfc188
..
1fa695b
100644
(file)
--- a/
src/toolbar/admin.py
+++ b/
src/toolbar/admin.py
@@
-24,7
+24,7
@@
class ButtonAdminForm(forms.ModelForm):
class ButtonAdmin(admin.ModelAdmin):
form = ButtonAdminForm
class ButtonAdmin(admin.ModelAdmin):
form = ButtonAdminForm
- list_display = ('slug', 'label', 'tooltip', 'accesskey')
+ list_display = ('slug', 'label', 'tooltip', 'accesskey'
, 'scriptlet'
)
list_display_links = ('slug',)
list_editable = ('label', 'tooltip', 'accesskey')
prepopulated_fields = {'slug': ('label',)}
list_display_links = ('slug',)
list_editable = ('label', 'tooltip', 'accesskey')
prepopulated_fields = {'slug': ('label',)}