Up front, I'm not the most elegant coder, so please forgive.

  I have a page that is produced using django templates.   I used the
templates to do the header and footer, but now I'm down into the body
of the page.   Using the data from my template, I am able to fill the
first cell.

Is is possible to have the template do a request/response for other
data?  Or do I have to pass it all in when I build the page.   Analogy
would be an <img src="\myMethod" >, but I don't want an image just
some text-based table data.   Or, a SharePoint WebPart that fits in a
table, but does its own thing.

{% block body %}
I am well within my body block...

<table>
  <tr>
     <td>{{MyModel.A}}, {{MyModel.B}} </td>  <!-- This works fine -->
     <td>  May Exist, May Not... Would like to pull data from another
request/response </td>
     <td>  May Exist, May Not... Would like to pull data from another
request/response  <td>
<table>
{% end block %}

1.  If this is possible, how do I do it?   Simple example please.

2.  If this is poor coding, how is what I'm trying to do best
accomplished?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to