Try to make a loop in the template, I guess that may can work
2010/1/5 Delacroy Systems
> This is how I did it in views.py:
>
> def businessshowservice_view(request, business_id):
>business = Business.objects.get(pk=business_id)
>services = Business.objects.get(pk=business_id).service_se
This is how I did it in views.py:
def businessshowservice_view(request, business_id):
business = Business.objects.get(pk=business_id)
services = Business.objects.get(pk=business_id).service_set.all()
return object_list(request, queryset=services,
extra_context={'
I see that using object_detail is the 'incorrect' generic view to show
details. I am exploring other options, including writing a custom view
to give me what I want.
On Jan 4, 8:29 am, Delacroy Systems wrote:
> I am trying to use the generic view, object_detail on a m2m
> relationship. I have mul
3 matches
Mail list logo