Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # in mygame/web/links.py
- from django.template.loader import get_template
- from django.http import HttpResponse
- def linkspage(request):
- template = get_template("links.html")
- html = template.render()
- return HttpResponse(html)
Advertisement
Add Comment
Please, Sign In to add comment