sorry to disturb but cant get it to work.

now this error

Traceback (most recent call last):
File "gluon/restricted.py", line 192, in restricted
File "D:/web2py198_2/web2py/applications/Demo1/models/table.py", line 83, in
<module>
File "gluon/custom_import.py", line 276, in __call__
File "gluon/custom_import.py", line 74, in __call__
File "applications\Demo1\modules\plugin_ckeditor.py", line 44
migrate = migrate,
^
SyntaxError: invalid syntax

Can you post a simple appliance with ckeditor?




2011/9/1 Ross Peoples <ross.peop...@gmail.com>

> Are you trying to initialize the plugin in db.py? If so, then the problem
> is that db.py is being read before plugin_ckeditor.py (web2py loads models
> in alphabetical order). So what I usually do is make a tables.py model where
> I define my tables. You can initialize the plugin in this file, as it will
> be loaded after the plugin's model.

Reply via email to