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
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
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',
3 matches
Mail list logo