The generic list view can only directly handle pre-defined querysets
(i.e. not ones that take slugs and other parameters from the request,
url.)

However, for your case, you can easily write your own view that builds
the right queryset using the artist slug and album slug, and then hands
off the request execution to the generic list view for songs.

See Malcolm Tredinnick's excellent article on extending generic views
for more on this:

http://www.pointy-stick.com/blog/2006/06/29/django-tips-extending-generic-views/


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