> Or just read the code - that's what I did FWIW !-) Tried that. In fact I'd actually tried the get_nodes_by_type method and in hindsight I realise it failed for the reason below, but I didn't realise that at the time.
> > One other slightly tricky thing that I just figured out - when > > importing your Node you need to import it from django.templatetags, > > not myproject.myapp.templatetags. > > Mmm ??? Why so ? What happens if you don't ? It returns an empty list, ie doesn't find any matching nodes. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---