On May 18, 1:59 am, 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 > > Thanks alot for writing this, it was a sinch to get going. > > Now I have a def my_markdown in template_utils/markup.py where I can > do everything I need to do some tricks with ![File:123].
Ok, one last followup here. Sorry I'm so ignorant, but I'd like to extend this module/template tag without modifying the original app/ source. So GenericMarkup creates a generic_markup template tag and in turn allows you to extend some of the markup filters. Thus I have a django template referencing the global {% load generic_markup %} which does a from template_utils.markup import formatter. template_utils.markup is where I want to add my function(s) or new markup filters. I'm just not seeing a straightforward solution to this besides modifying template_utils/markup.py ... what are some other alternatives? Thanks for your patience, Milan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---