The file is mytag.py and the directory is now called templatetags

On Aug 27, 4:42 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Aug 27, 8:03 pm, nixon66 <nixon....@gmail.com> wrote:
>
> > I've just created a template tag as described in the documents, but
> > keep getting errors.
>
> > In an installed app I created a directory called Templatetags. I
> > created a blank __init__.py file and a file called mytag.
>
> Is the file called just 'mytag' or (as it should be) 'mytag.py'? Is
> the directory called 'Templatetags' rather than
> 'templatetags' (assuming you're on Linux, where case is significant in
> filenames)?
> --
> DR.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to