On 12/13/06, conrad22 <[EMAIL PROTECTED]> wrote: > > Yes, I know. Sorry, should have been more specific: > the problem is, that the second part of the url pattern comes from a > different model. > > I've tried > (r'^categories/(?P<object_id>\d+)/(?P<organisation_slug>\w+)/$','django.views.generic.list_detail.object_detail', > info_dict), > > but it's obviously not quite there...? How would I access the slugs > from the Organisation model within the Category models url patterns? > You'll probably want to use a wrapper for your generic view. See: http://www.b-list.org/weblog/2006/11/16/django-tips-get-most-out-generic-views
-- ---- Waylan Limberg [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---