thanks Daniel.

On Oct 21, 2:09 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Oct 21, 1:13 pm, coderb <[EMAIL PROTECTED]> wrote:
>
> > def category(request, myslug):
> >     category_list = get_list_or_404(Category, parent=myslug)
>
> get_list_or_404(Category, parent__slug=myslug)
> --
> 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to