Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def formation(request):
- list_formations = Formation.objects.all()
- t = loader.get_template('catalogue/index.html')
- c = Context({
- 'list_formations': list_formations,
- })
- return HttpResponse(t.render(c))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement