Problem with restructuredtext filter

2010-02-22 Thread Gianluca Pacchiella
I have written for a personal django app (actually a blog), a new restructured text role that allows to use TeX syntax and rendering math formulas; the problem is that I don't want to allow this in comment. To avoid to load the TeX related role I use the following snippet of code where I delete

Re: restructuredtext filter

2005-12-12 Thread [EMAIL PROTECTED]
Even better. Thanks again!

Re: restructuredtext filter

2005-12-12 Thread Jacob Kaplan-Moss
On Dec 12, 2005, at 12:28 PM, [EMAIL PROTECTED] wrote: I had to copy django/contrib/markup/templatetags/markup.py to django/templatetags and the with the {% load markup %} line the filter works now. You don't have to do that either. Just put "django.contrib.markup" in your INSTALLED_APPS

Re: restructuredtext filter

2005-12-12 Thread [EMAIL PROTECTED]
I do now! I had to copy django/contrib/markup/templatetags/markup.py to django/templatetags and the with the {% load markup %} line the filter works now. Thank you for your help!

Re: restructuredtext filter

2005-12-12 Thread James Bennett
On 12/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Today, I moved to the development version of django using svn. I have > everything working like before except the restructuredtext filter. I > have tried the same as above, and also changing the import line to Do y