Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. from django.shortcuts import render
  2. from .models import Location
  3.  
  4.  
  5. def location_list(request):
  6. place = Location.objects.all()
  7. c = {
  8. 'places': place
  9. }
  10. return render(request, 'places/location_list.html', c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement