Re: Problem with custom filter

2008-02-22 Thread Julien
And don't forget to create an emtpy __init__.py file in that templatetags/ or you may still get the same error. On Feb 23, 8:14 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2008-02-22 at 22:11 +0100, Florian Lindner wrote: > > Hello, > > I want to write a custom filter. > > > I

Re: Problem with custom filter

2008-02-22 Thread Malcolm Tredinnick
On Fri, 2008-02-22 at 22:11 +0100, Florian Lindner wrote: > Hello, > I want to write a custom filter. > > I have a file called markdown.py inside my application directory with: Inside your application directory isn't the correct place. It must be inside a directory called templatetags/ which

Problem with custom filter

2008-02-22 Thread Florian Lindner
Hello, I want to write a custom filter. I have a file called markdown.py inside my application directory with: register = Library() @register.filter def markdown(value, arg): print type(value) return value settings.py contains: INSTALLED_APPS = ( 'django.contrib.auth',