Created
December 9, 2015 16:02
-
-
Save kshepp/39f1bfae15b36b94034a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def cafe(request, location): | |
city = City.objects.get(cafe__url=location) | |
exhibits = CafeExhibit.objects.filter(cafeName__url=location) | |
cafe = Cafe.objects.get(url=location) | |
Context = {'exhibits':exhibits,'cafe':cafe, 'city':city} | |
return render(request,'jewish_cafes/cafe.html', Context) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment