<?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"
	>
<channel>
	<title>Comments on: A simple introduction to Django forms</title>
	<atom:link href="http://www.alandelevie.com/2008/12/14/a-simple-introduction-to-django-forms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alandelevie.com/2008/12/14/a-simple-introduction-to-django-forms/</link>
	<description>The website of Alan deLevie</description>
	<pubDate>Sun, 01 Aug 2010 01:51:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Ian</title>
		<link>http://www.alandelevie.com/2008/12/14/a-simple-introduction-to-django-forms/#comment-621</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Fri, 18 Jun 2010 15:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.alandelevie.com/?p=188#comment-621</guid>
		<description>Thanks for this tutorial. I find that django's documentation will quite extensive seems to show you how you can customize everything but never shows you how to get started. I seriously spent several hours trying to figure out how to get the form to validate... finally found your site and had it work in like 2min. Arg...</description>
		<content:encoded><![CDATA[<p>Thanks for this tutorial. I find that django&#8217;s documentation will quite extensive seems to show you how you can customize everything but never shows you how to get started. I seriously spent several hours trying to figure out how to get the form to validate&#8230; finally found your site and had it work in like 2min. Arg&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.alandelevie.com/2008/12/14/a-simple-introduction-to-django-forms/#comment-535</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 29 Dec 2009 18:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.alandelevie.com/?p=188#comment-535</guid>
		<description>Thanks for this. One small correction:

Your password widget has rendervalue. It should be render_value.</description>
		<content:encoded><![CDATA[<p>Thanks for this. One small correction:</p>
<p>Your password widget has rendervalue. It should be render_value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dimitris</title>
		<link>http://www.alandelevie.com/2008/12/14/a-simple-introduction-to-django-forms/#comment-520</link>
		<dc:creator>Dimitris</dc:creator>
		<pubDate>Wed, 04 Nov 2009 15:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.alandelevie.com/?p=188#comment-520</guid>
		<description>I googled and googled a lot, found so many info but in the end only your piece run smoothly. Plus it is understandable the way it is writen.
One question though... Instead of redirecting to the logged_in.html, can we have a direct redirection in a create.html ( which has a view also named create(responce) ), and it is supposed to accept data that will eventually be writen to database ?
So imagine...1.Login, 2.Accepted Login, 3.new form, for data-entry 4.Save 5.redirect wherever...

What I tried is instead this : 
return render_to_response('courses/logged_in.html', {'username': username,})
to
return create(request)
and right before create, set perhaps request method to 'GET'. But it fails.
Any suggestion ?</description>
		<content:encoded><![CDATA[<p>I googled and googled a lot, found so many info but in the end only your piece run smoothly. Plus it is understandable the way it is writen.<br />
One question though&#8230; Instead of redirecting to the logged_in.html, can we have a direct redirection in a create.html ( which has a view also named create(responce) ), and it is supposed to accept data that will eventually be writen to database ?<br />
So imagine&#8230;1.Login, 2.Accepted Login, 3.new form, for data-entry 4.Save 5.redirect wherever&#8230;</p>
<p>What I tried is instead this :<br />
return render_to_response(&#8217;courses/logged_in.html&#8217;, {&#8217;username&#8217;: username,})<br />
to<br />
return create(request)<br />
and right before create, set perhaps request method to &#8216;GET&#8217;. But it fails.<br />
Any suggestion ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://www.alandelevie.com/2008/12/14/a-simple-introduction-to-django-forms/#comment-505</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Tue, 12 May 2009 03:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.alandelevie.com/?p=188#comment-505</guid>
		<description>Found a little bug.  If your view is named "login", this collides with the "login" function that you call inside the view itself, resulting in this error when you try to log in:

TypeError at /login/

login() takes exactly 1 argument (2 given)

To fix this, your view should be named anything else.  Like "mylogin".</description>
		<content:encoded><![CDATA[<p>Found a little bug.  If your view is named &#8220;login&#8221;, this collides with the &#8220;login&#8221; function that you call inside the view itself, resulting in this error when you try to log in:</p>
<p>TypeError at /login/</p>
<p>login() takes exactly 1 argument (2 given)</p>
<p>To fix this, your view should be named anything else.  Like &#8220;mylogin&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Puneet</title>
		<link>http://www.alandelevie.com/2008/12/14/a-simple-introduction-to-django-forms/#comment-502</link>
		<dc:creator>Puneet</dc:creator>
		<pubDate>Sun, 03 May 2009 17:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.alandelevie.com/?p=188#comment-502</guid>
		<description>Thanks, Nice Explanation</description>
		<content:encoded><![CDATA[<p>Thanks, Nice Explanation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan deLevie - Django login script code snippet</title>
		<link>http://www.alandelevie.com/2008/12/14/a-simple-introduction-to-django-forms/#comment-460</link>
		<dc:creator>Alan deLevie - Django login script code snippet</dc:creator>
		<pubDate>Sat, 27 Dec 2008 00:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.alandelevie.com/?p=188#comment-460</guid>
		<description>[...] off what I learned making my previous tutorial A simple introduction to Django forms, I made a somewhat more elegant login script which includes the ability to log out (what a novel [...]</description>
		<content:encoded><![CDATA[<p>[...] off what I learned making my previous tutorial A simple introduction to Django forms, I made a somewhat more elegant login script which includes the ability to log out (what a novel [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
