markitup for participant bios
This commit is contained in:
parent
6effe69793
commit
4baa443e8e
|
@ -59,6 +59,7 @@ class ParticipantAdmin(admin.ModelAdmin):
|
||||||
search_fields = ('title', 'short_bio',)
|
search_fields = ('title', 'short_bio',)
|
||||||
list_display = ('name', 'title', 'meeting',)
|
list_display = ('name', 'title', 'meeting',)
|
||||||
list_filter = ['meeting']
|
list_filter = ['meeting']
|
||||||
|
formfield_overrides = {models.TextField: {'widget': MarkItUpWidget}}
|
||||||
|
|
||||||
class CommentAdmin(admin.ModelAdmin):
|
class CommentAdmin(admin.ModelAdmin):
|
||||||
list_display = ('__unicode__', 'is_displayed',)
|
list_display = ('__unicode__', 'is_displayed',)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user