title: Django - how to use json file with django
body: <p>I am using bootstrap with django, so I have all the CSS and Javascript set up.  And I am using this code in my html file.</p>
  
  <pre><code>&lt;table data-url="data1.json" data-height="299" data-sort-name="name" data-sort-order="desc"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th data-field="id" data-align="right" data-sortable="true"&gt;Item ID&lt;/th&gt;
              &lt;th data-field="name" data-align="center" data-sortable="true"&gt;Item Name&lt;/th&gt;
              &lt;th data-field="price" data-sortable="true"&gt;Item Price&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>However, I want to link this json file <a href="http://wenzhixin.net.cn/p/bootstrap-table/docs/data1.json" rel="nofollow">http://wenzhixin.net.cn/p/bootstrap-table/docs/data1.json</a> in data-url="the link".  How would I do that?</p>