Reputation: 805
I need something like file_get_contents in PHP. I kwnow it's some like:
import urllib2
urllib2.urlopen(url).read()
but how can I put it in django html template?
Thx for fast answers.
Upvotes: 1
Views: 820
Reputation: 7045
You cannot put that directly into django's html templating language. You might consider:
Upvotes: 2