Re: 'get_latest' is not a valid tag library

2008-09-26 Thread Matthew Crist
It was the quotes. Thanks for the tips! --~--~-~--~~~---~--~~ 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

Re: 'get_latest' is not a valid tag library

2008-09-26 Thread Rock
Hmmm... Here are some guesses: If that return statement in render is a single doublequote instead of 2 singlequotes, then your code probably won't parse and, even if it does, get_latest certainly won't be found. It seems to me like you need to coerce the string being assigned to self.num as

Re: 'get_latest' is not a valid tag library

2008-09-26 Thread Matthew Crist
I've got that. Here's my directory structure: -blog -templatetags -__init__.py -get_latest.py On Sep 25, 11:39 pm, Rock <[EMAIL PROTECTED]> wrote: > You need an empty __init.py__ in the directory or else the python > files there will not be found. > > On Sep 25,

Re: 'get_latest' is not a valid tag library

2008-09-25 Thread Rock
You need an empty __init.py__ in the directory or else the python files there will not be found. On Sep 25, 10:29 pm, Matthew Crist <[EMAIL PROTECTED]> wrote: > Here's my template: > > {% load get_latest %} > "http://www.w3.org/TR/html4/loose.dtd;> > >         >                 My Site -

Re: 'get_latest' is not a valid tag library

2008-09-25 Thread Matthew Crist
Here's my template: {% load get_latest %} My Site - {%block pagetitle %}{% endblock %} My Site home Blog

Re: 'get_latest' is not a valid tag library

2008-09-25 Thread R. Gorman
Post your template code as well. R. --~--~-~--~~~---~--~~ 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

'get_latest' is not a valid tag library

2008-09-25 Thread Matthew Crist
I am trying to figure out templatetags, and I keep getting the following error: 'get_latest' is not a valid tag library: Could not load template library from django.templatetags.get_latest, No module named get_latest I started with this guide: http://www.b-list.org/weblog/2006/jun/07/django