DjangoUeditor
DjangoUeditor copied to clipboard
在model中使用的问题
求助: from DjangoUeditor.models import UEditorField class Blog(models.Model): Name=models.CharField(,max_length=100,blank=True) Content=UEditorField(u'内容 ',width=600, height=300, toolbars="full", imagePath="", filePath="", upload_settings={"imageMaxSize":1204000}, settings={},command=None,event_handler=myEventHander(),blank=True) 第一个是Name=models.CharField(,max_length=100,blank=True)这里括号内的第一个逗号语法报错 删了以后就好了 第二个是command=None,event_handler=myEventHander()中的myEventHander()没有定义
myEventHander需要你自己定义