<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Django templates with jQuery AJAX</title>
	<atom:link href="http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/</link>
	<description>Currently in transit between here and there...</description>
	<lastBuildDate>Wed, 30 Nov 2011 13:31:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-674</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 17 Aug 2011 22:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-674</guid>
		<description>Hi Ed,

Calling jQuery.load like so should POST the data:

$(&#039;#results&#039;).html(&#039;&#160;&#039;).load(&#039;{% url demo_user_search %}&#039;, { &#039;q&#039;: q });
By passing the query param &#039;q&#039; as an array (using the optional data parameter), it should automatically POST instead of GET. For more info, check the jQuery.load() docs:http://api.jquery.com/load/</description>
		<content:encoded><![CDATA[<p>Hi Ed,</p>
<p>Calling jQuery.load like so should POST the data:</p>
<p>$(&#8216;#results&#8217;).html(&#8216;&nbsp;&#8217;).load(&#8216;{% url demo_user_search %}&#8217;, { &#8216;q&#8217;: q });<br />
By passing the query param &#8216;q&#8217; as an array (using the optional data parameter), it should automatically POST instead of GET. For more info, check the jQuery.load() docs:<a href="http://api.jquery.com/load/" rel="nofollow">http://api.jquery.com/load/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Sparkes</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-673</link>
		<dc:creator>Ed Sparkes</dc:creator>
		<pubDate>Wed, 17 Aug 2011 20:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-673</guid>
		<description>Hi, 

This is really nice, however i have a slight problem. If i try and parse parameters in the second argument to the load it doesnt work. I want to pass my post parameters up and use request.POST.get instead of request.GET.get. 

Any Ideas??

Thanks, Ed</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>This is really nice, however i have a slight problem. If i try and parse parameters in the second argument to the load it doesnt work. I want to pass my post parameters up and use request.POST.get instead of request.GET.get. </p>
<p>Any Ideas??</p>
<p>Thanks, Ed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zahid</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-670</link>
		<dc:creator>Zahid</dc:creator>
		<pubDate>Wed, 03 Aug 2011 05:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-670</guid>
		<description>As soon as i add the extends tag in the template the code stops working while it keeps working otherwise. What could be the reason for that?</description>
		<content:encoded><![CDATA[<p>As soon as i add the extends tag in the template the code stops working while it keeps working otherwise. What could be the reason for that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Алибек Датбаев</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-637</link>
		<dc:creator>Алибек Датбаев</dc:creator>
		<pubDate>Sat, 14 May 2011 12:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-637</guid>
		<description>trying to comment </description>
		<content:encoded><![CDATA[<p>trying to comment</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajax, Dajaxice, and Taconite &#171; Why Django?</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-611</link>
		<dc:creator>Ajax, Dajaxice, and Taconite &#171; Why Django?</dc:creator>
		<pubDate>Fri, 15 Apr 2011 16:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-611</guid>
		<description>[...] straight jQuery Ajax.  I downloaded a very simple sample project posted on an article created by Nizam Sayeed.  You can download the ajax_user_list.zip file from that site, and see how simple it [...]</description>
		<content:encoded><![CDATA[<p>[...] straight jQuery Ajax.  I downloaded a very simple sample project posted on an article created by Nizam Sayeed.  You can download the ajax_user_list.zip file from that site, and see how simple it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cássio</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-472</link>
		<dc:creator>Cássio</dc:creator>
		<pubDate>Sat, 18 Dec 2010 02:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-472</guid>
		<description>I cannot get the example work too.

It seems that the site_media is not found. I put the address hardcoded but have no sucess again.
That is some configuration that need to be donne?</description>
		<content:encoded><![CDATA[<p>I cannot get the example work too.</p>
<p>It seems that the site_media is not found. I put the address hardcoded but have no sucess again.<br />
That is some configuration that need to be donne?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: django jquery ajax 的一个小例子 &#171; Sealyu&#39;s Blog</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-467</link>
		<dc:creator>django jquery ajax 的一个小例子 &#171; Sealyu&#39;s Blog</dc:creator>
		<pubDate>Sat, 11 Dec 2010 11:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-467</guid>
		<description>[...] is all the jQuery code to handle the search and AJAX spinner display:   view sourceprint?   01.$( document ).ready( function() { 02. $( &#039;#searchSubmit&#039; ).click( function() { 03. q = $( &#039;#q&#039; [...]</description>
		<content:encoded><![CDATA[<p>[...] is all the jQuery code to handle the search and AJAX spinner display:   view sourceprint?   01.$( document ).ready( function() { 02. $( &#39;#searchSubmit&#39; ).click( function() { 03. q = $( &#39;#q&#39; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weiss</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-430</link>
		<dc:creator>Weiss</dc:creator>
		<pubDate>Thu, 09 Sep 2010 06:48:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-430</guid>
		<description>This might be a little late, but I recently started a project on github that addresses this problem a little differently. Instead of generating everything with the django templates on the server, I have a script that compiles the django templates into javascript functions. You can then just send JSON data back from the server and plug it into the functions to generate the proper html. The generated functions are in pure javascript so no other plugins are required. Let me know what you think!
Project: http://github.com/comolongo/Yz-Javascript-Django-Template-Compiler
Really basic demo: http://yz-demos.appspot.com/yz_djs_demo/</description>
		<content:encoded><![CDATA[<p>This might be a little late, but I recently started a project on github that addresses this problem a little differently. Instead of generating everything with the django templates on the server, I have a script that compiles the django templates into javascript functions. You can then just send JSON data back from the server and plug it into the functions to generate the proper html. The generated functions are in pure javascript so no other plugins are required. Let me know what you think!<br />
Project: <a href="http://github.com/comolongo/Yz-Javascript-Django-Template-Compiler" rel="nofollow">http://github.com/comolongo/Yz-Javascript-Django-Template-Compiler</a><br />
Really basic demo: <a href="http://yz-demos.appspot.com/yz_djs_demo/" rel="nofollow">http://yz-demos.appspot.com/yz_djs_demo/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-427</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Tue, 10 Aug 2010 17:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-427</guid>
		<description>Is there an easy reason why if I wrap the &#039;q&#039; and &#039;searchSubmit&#039; inputs inside of a form (to allow carriage return submission) that it stops working?</description>
		<content:encoded><![CDATA[<p>Is there an easy reason why if I wrap the &#8216;q&#8217; and &#8216;searchSubmit&#8217; inputs inside of a form (to allow carriage return submission) that it stops working?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nizam</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-424</link>
		<dc:creator>Nizam</dc:creator>
		<pubDate>Fri, 30 Jul 2010 02:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-424</guid>
		<description>Here is the urls.py from the sample which can be downloaded here:

&lt;a href=&quot;http://www.nomadjourney.com/wp-content/uploads/2009/01/ajax_user_list.zip&quot; rel=&quot;nofollow&quot;&gt;http://www.nomadjourney.com/wp-content/uploads/2009/01/ajax_user_list.zip&lt;/a&gt;

&lt;code&gt;
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from django.contrib.auth.views import login, logout_then_login
from django.conf import settings
&lt;/code&gt;
&lt;code&gt;
from django.contrib import admin
admin.autodiscover()
&lt;/code&gt;
&lt;code&gt;
urlpatterns = patterns(&#039;&#039;,
    ( r&#039;^admin/(.*)&#039;, admin.site.root ),
    ( r&#039;^site_media/(?P&lt;path&gt;.*)$&#039;, &#039;django.views.static.serve&#039;, { &#039;document_root&#039;: settings.MEDIA_ROOT } ),
    ( r&#039;^demo/&#039;, include( &#039;demo.urls&#039; ) ),
)
&lt;/path&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Here is the urls.py from the sample which can be downloaded here:</p>
<p><a href="http://www.nomadjourney.com/wp-content/uploads/2009/01/ajax_user_list.zip" rel="nofollow">http://www.nomadjourney.com/wp-content/uploads/2009/01/ajax_user_list.zip</a></p>
<p><code><br />
from django.conf.urls.defaults import *<br />
from django.views.generic.simple import direct_to_template<br />
from django.contrib.auth.views import login, logout_then_login<br />
from django.conf import settings<br />
</code><br />
<code><br />
from django.contrib import admin<br />
admin.autodiscover()<br />
</code><br />
<code><br />
urlpatterns = patterns('',<br />
    ( r'^admin/(.*)', admin.site.root ),<br />
    ( r'^site_media/(?P
<path>.*)$', 'django.views.static.serve', { 'document_root': settings.MEDIA_ROOT } ),<br />
    ( r'^demo/', include( 'demo.urls' ) ),<br />
)
</path></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-421</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sat, 17 Jul 2010 05:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-421</guid>
		<description>@ Peter and @Nizam. Great stuff guys! Thanks!</description>
		<content:encoded><![CDATA[<p>@ Peter and @Nizam. Great stuff guys! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor Ganapolsky</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-419</link>
		<dc:creator>Igor Ganapolsky</dc:creator>
		<pubDate>Sun, 06 Jun 2010 21:39:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-419</guid>
		<description>I&#039;m really curious what your urls.py looks like.  I cannot get your example to work.</description>
		<content:encoded><![CDATA[<p>I&#8217;m really curious what your urls.py looks like.  I cannot get your example to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-398</link>
		<dc:creator>Laurent</dc:creator>
		<pubDate>Wed, 20 Jan 2010 10:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-398</guid>
		<description>Thank you Nizam. Helpful and neat !</description>
		<content:encoded><![CDATA[<p>Thank you Nizam. Helpful and neat !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NMarcu</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-348</link>
		<dc:creator>NMarcu</dc:creator>
		<pubDate>Fri, 04 Dec 2009 10:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-348</guid>
		<description>Hi,

    There is possible to update 2 divs with the same load function?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>    There is possible to update 2 divs with the same load function?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nizam</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-286</link>
		<dc:creator>Nizam</dc:creator>
		<pubDate>Sun, 29 Nov 2009 03:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-286</guid>
		<description>Peter,

Thanks for sharing your experience using jQuery Taconite and Django together. Really good stuff! I&#039;ll have to steal this for my next project. ;)</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>Thanks for sharing your experience using jQuery Taconite and Django together. Really good stuff! I&#8217;ll have to steal this for my next project. ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Rowell</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-284</link>
		<dc:creator>Peter Rowell</dc:creator>
		<pubDate>Sat, 28 Nov 2009 22:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-284</guid>
		<description>Nizam -

I had to do some Django/Ajax interaction on a site I did 2 years ago. We had a separate window called the Video Console and a large list of videos that could be displayed. Each video had a number of components: a URL to the FLV file, descriptive text, URLs to related products, etc. I was concerned about too much knowledge of the page layout being buried either in the back end or in the JS code for the AJAX handling.

Then I found the jQuery plugin called &#039;taconite&#039;! (Cue sounds of angels singing from on high.) See http://malsup.com/jquery/taconite/

I created a simple utility class to collect the various changes we wanted to make to the browser page. When you call the response() method it gives you a fully compliant XML/Taconite object wrapped in an HttpResponse object and ... everything &lt;i&gt;just works!&lt;/i&gt;

Between the taconite jQuery magic on the front, and the simplicity of building/rendering on the back, it&#039;s almost embarrassing how simple taconite makes doing AJAXy stuff. 

 I put a quick-and-dirty version of it at:
      http://techbuddy.us/taconite.py.txt</description>
		<content:encoded><![CDATA[<p>Nizam -</p>
<p>I had to do some Django/Ajax interaction on a site I did 2 years ago. We had a separate window called the Video Console and a large list of videos that could be displayed. Each video had a number of components: a URL to the FLV file, descriptive text, URLs to related products, etc. I was concerned about too much knowledge of the page layout being buried either in the back end or in the JS code for the AJAX handling.</p>
<p>Then I found the jQuery plugin called &#8216;taconite&#8217;! (Cue sounds of angels singing from on high.) See <a href="http://malsup.com/jquery/taconite/" rel="nofollow">http://malsup.com/jquery/taconite/</a></p>
<p>I created a simple utility class to collect the various changes we wanted to make to the browser page. When you call the response() method it gives you a fully compliant XML/Taconite object wrapped in an HttpResponse object and &#8230; everything <i>just works!</i></p>
<p>Between the taconite jQuery magic on the front, and the simplicity of building/rendering on the back, it&#8217;s almost embarrassing how simple taconite makes doing AJAXy stuff. </p>
<p> I put a quick-and-dirty version of it at:<br />
      <a href="http://techbuddy.us/taconite.py.txt" rel="nofollow">http://techbuddy.us/taconite.py.txt</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nizam</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-160</link>
		<dc:creator>Nizam</dc:creator>
		<pubDate>Sun, 15 Nov 2009 01:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-160</guid>
		<description>@pulegium,

I just left a comment for your blog post. Thought that it might be the right place to continue the discussion.</description>
		<content:encoded><![CDATA[<p>@pulegium,</p>
<p>I just left a comment for your blog post. Thought that it might be the right place to continue the discussion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pulegium</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-158</link>
		<dc:creator>pulegium</dc:creator>
		<pubDate>Sat, 14 Nov 2009 12:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-158</guid>
		<description>Nizam, just to say thanks for this tutorial that inspired me to write smth similar using django and jquery (which i must admin i never used before!). Only difference is that your code acts upon user instruction (search query) whereas I use jquery to do gradual load of the page (displaying info as it becomes available). Below more details if anyone&#039;s interested:

http://www.grenadepod.com/2009/11/13/query-data-from-django-site-with-jquery/

Now I&#039;ve got one question. How would you go about passing information from the HTML back to the site? If you look at my example I use class to identify all objects I want to query and the id holds the object specific information. Again, I&#039;m total muppet when it comes to js/ajax stuff, so just wondering what would the best practises be in approaching this?

Cheers!</description>
		<content:encoded><![CDATA[<p>Nizam, just to say thanks for this tutorial that inspired me to write smth similar using django and jquery (which i must admin i never used before!). Only difference is that your code acts upon user instruction (search query) whereas I use jquery to do gradual load of the page (displaying info as it becomes available). Below more details if anyone&#8217;s interested:</p>
<p><a href="http://www.grenadepod.com/2009/11/13/query-data-from-django-site-with-jquery/" rel="nofollow">http://www.grenadepod.com/2009/11/13/query-data-from-django-site-with-jquery/</a></p>
<p>Now I&#8217;ve got one question. How would you go about passing information from the HTML back to the site? If you look at my example I use class to identify all objects I want to query and the id holds the object specific information. Again, I&#8217;m total muppet when it comes to js/ajax stuff, so just wondering what would the best practises be in approaching this?</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nizam</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-155</link>
		<dc:creator>Nizam</dc:creator>
		<pubDate>Tue, 10 Nov 2009 05:57:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-155</guid>
		<description>Let me get this straight. You are getting the customer objects via AJAX/JSON from Django, right? Therefore you can use the &lt;a href=&quot;http://docs.djangoproject.com/en/dev/ref/models/querysets/#extra-select-none-where-none-params-none-tables-none-order-by-none-select-params-none&quot; rel=&quot;nofollow&quot;&gt;&lt;code&gt;extra&lt;/code&gt;&lt;/a&gt; QuerySet API method to append an extra column for each row containing the URLs (possibly the value returned by the model instance&#039;s &lt;a href=&quot;http://docs.djangoproject.com/en/dev/ref/models/instances/#get-absolute-url&quot; rel=&quot;nofollow&quot;&gt;&lt;code&gt;get_absolute_url&lt;/code&gt;&lt;/a&gt; method) for each item before sending it back as a JSON response. Then you could use them as is from your jQuery code without any modification.</description>
		<content:encoded><![CDATA[<p>Let me get this straight. You are getting the customer objects via AJAX/JSON from Django, right? Therefore you can use the <a href="http://docs.djangoproject.com/en/dev/ref/models/querysets/#extra-select-none-where-none-params-none-tables-none-order-by-none-select-params-none" rel="nofollow"><code>extra</code></a> QuerySet API method to append an extra column for each row containing the URLs (possibly the value returned by the model instance&#8217;s <a href="http://docs.djangoproject.com/en/dev/ref/models/instances/#get-absolute-url" rel="nofollow"><code>get_absolute_url</code></a> method) for each item before sending it back as a JSON response. Then you could use them as is from your jQuery code without any modification.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer</title>
		<link>http://www.nomadjourney.com/2009/01/using-django-templates-with-jquery-ajax/comment-page-1/#comment-154</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Sun, 08 Nov 2009 15:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.nomadjourney.com/?p=43#comment-154</guid>
		<description>Nizam, thanks for the quick reply.

No, &quot;customers.fields.id&quot; is not set in the template context. 

I am using Ajax/JSON to pass &quot;customer&quot; objects from the View to the Template (via jQuery).

Just to make things a bit more clear, finally what I am looking to achieve is to generate entire HTML UI using Ajax (via jQuery). For that I require the &quot;Customer&quot; objects which I am getting thru JSON. 

But the problem is, getting the URL for each customer object (for e.g. /cutomer/21). Ofcourse, I can hard code the URL such as &lt;code&gt;(&quot;/customer/&quot;+ &quot;Customer_ID&quot;)&lt;/code&gt;, but then it would be a very poor design decision &amp; quite cumbersome to maintain. That&#039;s why I require the reverse URL lookup to work at runtime inside an Ajax (jQuery) call.</description>
		<content:encoded><![CDATA[<p>Nizam, thanks for the quick reply.</p>
<p>No, &#8220;customers.fields.id&#8221; is not set in the template context. </p>
<p>I am using Ajax/JSON to pass &#8220;customer&#8221; objects from the View to the Template (via jQuery).</p>
<p>Just to make things a bit more clear, finally what I am looking to achieve is to generate entire HTML UI using Ajax (via jQuery). For that I require the &#8220;Customer&#8221; objects which I am getting thru JSON. </p>
<p>But the problem is, getting the URL for each customer object (for e.g. /cutomer/21). Ofcourse, I can hard code the URL such as <code>("/customer/"+ "Customer_ID")</code>, but then it would be a very poor design decision &amp; quite cumbersome to maintain. That&#8217;s why I require the reverse URL lookup to work at runtime inside an Ajax (jQuery) call.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

