biblio remove ckeditor
This commit is contained in:
parent
80a7eb68fc
commit
1f49a7d8cb
|
@ -84,6 +84,7 @@ class VideoAdmin(admin.ModelAdmin):
|
|||
class DocumentAdmin(admin.ModelAdmin):
|
||||
list_display = ('__unicode__', 'subject',)
|
||||
list_editable = ('subject',)
|
||||
formfield_overrides = {models.TextField: {'widget': MarkItUpWidget}}
|
||||
|
||||
admin.site.register(Comment, CommentAdmin)
|
||||
admin.site.register(Meeting, MeetingAdmin)
|
||||
|
|
|
@ -195,7 +195,7 @@ class DocumentSubject(ItfModel):
|
|||
|
||||
class Document(ItfModel):
|
||||
title = models.CharField(max_length=255)
|
||||
intro = RichTextField(blank=True, null=True)
|
||||
intro = TextField(blank=True, null=True)
|
||||
file = models.FileField(upload_to='upload/docs', blank=True, null=True)
|
||||
meeting = models.ForeignKey('Meeting', blank=True, null=True)
|
||||
talk = models.ForeignKey('Talk', blank=True, null=True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user