<?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: A Detailed Django Tutorial: Blog Basics Part III</title> <atom:link href="http://brenelz.com/blog/a-detailed-django-tutorial-blog-basics-part-iii/feed/" rel="self" type="application/rss+xml" /><link>http://brenelz.com/blog/a-detailed-django-tutorial-blog-basics-part-iii/</link> <description>a winnipeg website design company.</description> <lastBuildDate>Thu, 29 Jul 2010 18:34:25 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: Nolan</title><link>http://brenelz.com/blog/a-detailed-django-tutorial-blog-basics-part-iii/comment-page-1/#comment-12025</link> <dc:creator>Nolan</dc:creator> <pubDate>Tue, 06 Apr 2010 01:13:04 +0000</pubDate> <guid isPermaLink="false">http://www.brenelz.com/blog/?p=859#comment-12025</guid> <description>I would like more information regarding from django.conf import settings if settings.DEBUG: urlpatterns += patterns(”, (r’^rsrc/(? .*)$’, ‘django.views.static.serve’, {’document_root’: settings.MEDIA_ROOT}) )You cannot just append this to the bottom of your file. could someone give the corrected one? It throws more than one error regarding these lines.</description> <content:encoded><![CDATA[<p>I would like more information regarding from django.conf import settings<br /> if settings.DEBUG:<br /> urlpatterns += patterns(”,<br /> (r’^rsrc/(? .*)$’, ‘django.views.static.serve’, {</p><p>’document_root’: settings.MEDIA_ROOT})<br /> )</p><p>You cannot just append this to the bottom of your file. could someone give the corrected one? It throws more than one error regarding these lines.</p> ]]></content:encoded> </item> <item><title>By: Nick</title><link>http://brenelz.com/blog/a-detailed-django-tutorial-blog-basics-part-iii/comment-page-1/#comment-2873</link> <dc:creator>Nick</dc:creator> <pubDate>Wed, 25 Nov 2009 18:10:48 +0000</pubDate> <guid isPermaLink="false">http://www.brenelz.com/blog/?p=859#comment-2873</guid> <description>I&#039;m getting the same problem as darius. The correct expression is: resources/(?P&lt;path&gt;.*)$It looks as though the browser is hiding some of it as it thinks it&#039;s html mark up.I found the solution here: http://docs.djangoproject.com/en/dev/howto/static-files/Note: Excuse the garbled message if that didn&#039;t work but I was trying to put path within triangular brackets.</description> <content:encoded><![CDATA[<p>I&#8217;m getting the same problem as darius.<br /> The correct expression is: resources/(?P&lt;path&gt;.*)$</p><p>It looks as though the browser is hiding some of it as it thinks it&#8217;s html mark up.</p><p>I found the solution here:<br /> <a href="http://docs.djangoproject.com/en/dev/howto/static-files/" rel="nofollow">http://docs.djangoproject.com/en/dev/howto/static-files/</a></p><p>Note: Excuse the garbled message if that didn&#8217;t work but I was trying to put path within triangular brackets.</p> ]]></content:encoded> </item> <item><title>By: darius</title><link>http://brenelz.com/blog/a-detailed-django-tutorial-blog-basics-part-iii/comment-page-1/#comment-1063</link> <dc:creator>darius</dc:creator> <pubDate>Mon, 28 Sep 2009 07:13:21 +0000</pubDate> <guid isPermaLink="false">http://www.brenelz.com/blog/?p=859#comment-1063</guid> <description>works great until:&lt;code&gt; (r&#039;^resources/(? .*)$&#039;, &#039;django.views.static.serve&#039;, {&#039;document_root&#039;: settings.MEDIA_ROOT})...&gt;&gt;&gt; re.compile(&#039;^resources/(?.*)$&#039;) error: unexpected end of pattern &lt;/code&gt;i placed the &#039;?&#039; after: as in (.*?)</description> <content:encoded><![CDATA[<p>works great until:</p><p><code><br /> (r'^resources/(? .*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT})</p><p>...</p><p>&gt;&gt;&gt; re.compile('^resources/(?.*)$')<br /> error: unexpected end of pattern<br /> </code></p><p>i placed the &#8216;?&#8217; after: as in (.*?)</p> ]]></content:encoded> </item> <item><title>By: compute32</title><link>http://brenelz.com/blog/a-detailed-django-tutorial-blog-basics-part-iii/comment-page-1/#comment-1017</link> <dc:creator>compute32</dc:creator> <pubDate>Sat, 02 May 2009 00:57:47 +0000</pubDate> <guid isPermaLink="false">http://www.brenelz.com/blog/?p=859#comment-1017</guid> <description>Hi, could you have a tutorial explaining how to pass a variable from views.py to a html file?I am trying to make a ads rotation system. I am a php programmer and new to django and kinda new to python.I would like to learn how I can get the ad graphic url from the database of google apps engine to the html file where the image tag is.So their graphic ad shows. I am having trouble with this.</description> <content:encoded><![CDATA[<p>Hi, could you have a tutorial explaining how to pass a variable from views.py to a html file?</p><p>I am trying to make a ads rotation system. I am a php programmer and new to django and kinda new to python.</p><p>I would like to learn how I can get the ad graphic url from the database of google apps engine to the html file where the image tag is.</p><p>So their graphic ad shows. I am having trouble with this.</p> ]]></content:encoded> </item> <item><title>By: qwertyt</title><link>http://brenelz.com/blog/a-detailed-django-tutorial-blog-basics-part-iii/comment-page-1/#comment-1016</link> <dc:creator>qwertyt</dc:creator> <pubDate>Mon, 06 Apr 2009 10:29:49 +0000</pubDate> <guid isPermaLink="false">http://www.brenelz.com/blog/?p=859#comment-1016</guid> <description>Hi Great tutorial!! A sugestion... -can you add a little tutorial about forms in django? -another tutorial, integration javascript(jquery) with django.thanks for your work!</description> <content:encoded><![CDATA[<p>Hi<br /> Great tutorial!!<br /> A sugestion&#8230;<br /> -can you add a little tutorial about forms in django?<br /> -another tutorial, integration javascript(jquery) with django.</p><p>thanks for your work!</p> ]]></content:encoded> </item> <item><title>By: Django Blog Tutorial &#124; Blog of Jeff</title><link>http://brenelz.com/blog/a-detailed-django-tutorial-blog-basics-part-iii/comment-page-1/#comment-1015</link> <dc:creator>Django Blog Tutorial &#124; Blog of Jeff</dc:creator> <pubDate>Fri, 03 Apr 2009 07:50:53 +0000</pubDate> <guid isPermaLink="false">http://www.brenelz.com/blog/?p=859#comment-1015</guid> <description>[...] Part 3 [...]</description> <content:encoded><![CDATA[<p>[...] Part 3 [...]</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 3/14 queries in 0.032 seconds using disk
Content Delivery Network via cdnwww.brenelz.com

Served from: brenelz.com @ 2010-08-01 10:31:16 -->