Hello, I have a quite simple query set and a related generic views: http://dpaste.com/155494/ And template for generating a detail page of a photo.
Is there an easy way to have a link to previous | next element in the template without manualy coding a view ? Somthing like a: {% if foto.next_item %} <a href="/path/foto/{{ fot.next_item.id_field }}/">Next</a> {% endif} -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.