Guest User

Untitled

a guest
Jul 13th, 2017
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. # in mygame/web/links.py
  2.  
  3. from django.template.loader import get_template
  4. from django.http import HttpResponse
  5.  
  6. def linkspage(request):
  7. template = get_template("links.html")
  8. html = template.render()
  9. return HttpResponse(html)
Advertisement
Add Comment
Please, Sign In to add comment