If I am not wrong. The issue is with the List View not Detail View.
You need to provide, List View with query set. If you are providing model parameter, you will also need to give it a primary key 'pk', like you did for Detail View.
Hope that helps,
Smaran
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/fQZA1sl13VkJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
Could you give us the fill error message displaying what ended up being passed to the view?
Also, are you sure a car exists with the id / pk you're passing?
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/2RYQ-kplLroJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.