Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% for instance in object_info %}
- <li><a href="object">{{ instance.name }}</a></li>
- {% endfor %}
- def object_view(request):
- data = Object.objects.filter(name="")
- context={
- 'object_info':data
- }
- return render(request, "object.html", context)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement