On 7/12/06, keukaman <[EMAIL PROTECTED]> wrote:
>
> The blog code located at
> http://code.djangoproject.com/svn/djangoproject.com/django_website/apps/blog/
> has a directory called "/templatetags" that has a file called
> "latestblogentry.py" and __init__.py.
>
> If my structure is as follows:
>
> mysite/blog
>
> can anyone tell me where this templatetags directory goes in relation
> to the application directory? Or should it go somewhere in my
> "templates" directory? Finally, if there's a template somewhere I can
> use as a guideline to display this blog, I would appreciate it. Thanks
> again for the help.

http://www.djangoproject.com/documentation/templates_python/#extending-the-template-system

"
First, create a templatetags package in the appropriate Django app's
package. It should be on the same level as models.py, views.py, etc.
For example:

polls/
    models.py
    templatetags/
    views.py

"

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

Reply via email to