Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在model中使用的问题 #60

Open
YFZX opened this issue Oct 20, 2015 · 1 comment
Open

在model中使用的问题 #60

YFZX opened this issue Oct 20, 2015 · 1 comment

Comments

@YFZX
Copy link

YFZX commented Oct 20, 2015

求助:
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()没有定义

@zhangfisher
Copy link
Owner

myEventHander需要你自己定义

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants