Last one, promise. On May 21, 5:53 pm, Milan Andric <[EMAIL PROTECTED]> wrote: > > On May 17, 5:34 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > > > [snip] > > >http://code.google.com/p/django-template-utils/wiki/GenericMarkup > > Ok, I've got to be pretty close here. I went ahead and created an > empty app with just a template tags directory mmtags/templatetags/ > mm_markup.py ... I'm still getting a ValueError when trying to render > the template though. > > ValueError at /tutorials/audio/audioflash/ > 'mm_markdown' is not a registered markup filter. Registered filters > are: textile, restructuredtext, markdown. > > http://dpaste.com/10791/ > > What am I doing wrong?
doing: from template_utils.markup import formatter rather than: from template_utils.markup import MarkupFormatter then formatter.register(...) did the trick. All is well. Thanks for listening. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---