title: Passing URL Django Pattern in Datatables Column
body: <p>I'm trying to pass a url into the "Guest Name", where the user clicks on the user and a modal will pop up that displays a form that you can input/view information related to that particular guest.  I've tried fooling around with the render function, but haven't had much success.  If I were to be doing this purely in Django, I would want the equivalent of {% 'namespace:guest_data_form' guest.pk %}, which would call a view to render the form within a modal.  How would I accomplish the same within datatables?</p>
  
  <pre><code>&lt;script type="text/javascript" language="javascript" class="init"&gt;
       $(document).ready(function() {
           $('#example').DataTable( {
               autoWidth: true,
               ajax: {
                   url: "{% url 'guest_data_api' guest.id %}"
               },
               columns: [
                   { "data" : "Room Number" },
                   { "data" : "Occupancy" },
                   { "data" : "Guest Name" },
                   { "data" : "Check In" },
                   { "data" : "Check Out" }
               ],
               "columnDefs": [
                   { "width": "15%", "targets": 2 }
               ]
           } );
       } );
  &lt;/script&gt;
  </code></pre>