On Github lambacck / talkpyconca2013
<!-- where you want a widget --> <div data-sqwidget='src:tindie.js' data-sqwidget-settings='query:XXXXXXX'> Loading Tindie Widget ... </div> <!-- near the closing body tag --> <script type='text/javascript' src='https://www.tindie.com/widgets/tindie.js'></script>
url( r'^widgets/tindie.js$', direct_to_template, { 'template': 'widgets/tindie.js', 'mimetype': 'text/javascript' } )
(function(w, d) { w.tindie = { basePath:"https://www.tindie.com/", cssfile: "https://d2ss6ovg47m0r5.cloudfront.net/CACHE/css/9f62fae5f58e.css", STATIC_URL: "https://d2ss6ovg47m0r5.cloudfront.net/", font_version: "dafe1d746c81" } var s = d.createElement("script"); s.type = "text/javascript"; s.async = true s.src = "https://d2ss6ovg47m0r5.cloudfront.net/CACHE/js/41bab96657e4.js"; d.documentElement.childNodes[0].appendChild(s); })(window, document);