I can't seem to get custom filters working. My project looks like this:
projectdir/templatetags/ projectdir/templatetags/__init__.py projectdir/templatetags/tags.py tags.py looks like this: def get_tag_wrapper(matchobj): from wsrn.pictures.models import Picture image_name = matchobj.group('image_name').strip() picobj = Picture.objects.get(name=image_name) url = picobj.get_picture_url() return '<img src="%s" />' % url def wikify(value): image_re = re.compile(r'\[\[\s*Image:\s*(?P<image_name>[^\]]+)\s*\]\]') return image_re.sub(get_tag_wrapper, value) register.filter(wikify) I've added project.templatetags to INSTALLED_APPS. What am I missing? Matt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---