开发者

Problem getting preview from Django-MarkItUp in Admin interface

I am working on a custom markup formatter for Django and I wanted to interface it with MarkItUp.

It is successfully being called when I save the field, which is of type MarkupField, but when I try to preview this fi开发者_如何学运维eld from the Admin interface using the default settings, all I get back in the preview box is plaintext.

I am using the MarkItUp version from here: http://bitbucket.org/carljm/django-markitup/src

Here are my settings:

MARKITUP_FILTER = ('util.wookie.formatter.wookie', {})
JQUERY_URL = 'js/lib/jquery.js'

In urls, I have the following line:

(r'^markitup/', include('markitup.urls')),

Any ideas?


Is something serving the assets from both the MARKITUP_MEDIA_URL the JQUERY_URL locations?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜