My (painful) Experience with custom filters. This not a Question; but
I think posting this will help community

I have tried to get custom filters running and found that some of
things are Un documented or not documented in *BOLDFACE*

I need to do following additional steps in addition to what is
documented.

1) INSTALLED_APPS
needed to add "appname" (Assuming directory structure is appname/
templatetags/__init__.py)

2) Template ERRS out if you have white spaces. I have written a
trivial template 'ukase' which works like ucase. I have had a
construct like

{% load private %}
{{  name  |  ukase}}

and it started giving syntax error; I wish a cause is described
clearly.

After eliminating space it worked as expected.

{% load private %}
{{name|ukase}}


Regards.
-Mahesh @Bangalore - India

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to