sorry, had not finished this post before accidently submitting it...
for myslug not null
catcrumb_list = Category.objects.filter(slug=myslug)
myslug = catcrumb_list.parent
basically, I want to loop through the category model a parent is not
found, and each pass, store the model tupel in catcrumblist.
I tried catcrumb_list.append, but returns read-only error on 'list'
any help would be apprec-ated.
thank you
On Oct 29, 2:06 am, coderb <[EMAIL PROTECTED]> wrote:
> hi all,
>
> am having trouble finding the syntax to build an array that contains
> the full hierarchy of the current category.
>
> so the slug of the current category is passed to the method from the
> URL request data.
>
> for myslug not null
> catcrumb_list = Category.objects.filter(slug=myslug)
>
> catcrumb_list.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---