<?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: Django 1.3 Form API ModelForm Example</title>
	<atom:link href="http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/</link>
	<description>Go ahead take a bit!</description>
	<lastBuildDate>Tue, 20 Nov 2012 23:39:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Ricardo</title>
		<link>http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/#comment-1596</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Tue, 20 Nov 2012 23:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=219#comment-1596</guid>
		<description>I am tremendously thankfull to you Aaron. This is hands down the best example of how to use ModelForm that i have seen. You saved my day! Thank you!</description>
		<content:encoded><![CDATA[<p>I am tremendously thankfull to you Aaron. This is hands down the best example of how to use ModelForm that i have seen. You saved my day! Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Rickard</title>
		<link>http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/#comment-1237</link>
		<dc:creator>Jonathan Rickard</dc:creator>
		<pubDate>Tue, 09 Oct 2012 11:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=219#comment-1237</guid>
		<description>This was very helpful. Thank you.</description>
		<content:encoded><![CDATA[<p>This was very helpful. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy Gibbons</title>
		<link>http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/#comment-1218</link>
		<dc:creator>Tommy Gibbons</dc:creator>
		<pubDate>Wed, 03 Oct 2012 21:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=219#comment-1218</guid>
		<description>Hi Aaron,
This is a brilliant example and I thank you for it.  I built your example and this works fine.  Thank you for your time and effort.

When I try to do the same with my own code the def add_somename() works fine.  The def edit_somename() is where I am having trouble.  I cannot see where I have gone wrong.

What is happening is the _id is being dropped. For instance the following is what Django is reporting back...
[03/Oct/2012 22:17:41] &quot;GET /depot/ HTTP/1.1&quot; 200 5831
[03/Oct/2012 22:17:48] &quot;GET /depot_edit/2/ HTTP/1.1&quot; 200 779
[03/Oct/2012 22:17:54] &quot;POST /depot_edit// HTTP/1.1&quot; 404 3903

In the final line /2/ is replaced by // or so I believe to be the case.  I believe the problem is in views.edit_somename.  This does not happen in your example.

I am only learning  Django, learning the hard way most of the time ;-) 

If you need my code I will gladly forward it to you, I prefer to ask. People can be very busy, I know.

Thanks again for the effort and time that you have put in,
Tommy.</description>
		<content:encoded><![CDATA[<p>Hi Aaron,<br />
This is a brilliant example and I thank you for it.  I built your example and this works fine.  Thank you for your time and effort.</p>
<p>When I try to do the same with my own code the def add_somename() works fine.  The def edit_somename() is where I am having trouble.  I cannot see where I have gone wrong.</p>
<p>What is happening is the _id is being dropped. For instance the following is what Django is reporting back&#8230;<br />
[03/Oct/2012 22:17:41] &#8220;GET /depot/ HTTP/1.1&#8243; 200 5831<br />
[03/Oct/2012 22:17:48] &#8220;GET /depot_edit/2/ HTTP/1.1&#8243; 200 779<br />
[03/Oct/2012 22:17:54] &#8220;POST /depot_edit// HTTP/1.1&#8243; 404 3903</p>
<p>In the final line /2/ is replaced by // or so I believe to be the case.  I believe the problem is in views.edit_somename.  This does not happen in your example.</p>
<p>I am only learning  Django, learning the hard way most of the time <img src='http://www.peachybits.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  </p>
<p>If you need my code I will gladly forward it to you, I prefer to ask. People can be very busy, I know.</p>
<p>Thanks again for the effort and time that you have put in,<br />
Tommy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Django calendar &#171; djangogal</title>
		<link>http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/#comment-963</link>
		<dc:creator>Django calendar &#171; djangogal</dc:creator>
		<pubDate>Fri, 17 Aug 2012 22:45:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=219#comment-963</guid>
		<description>[...] http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/ Share this:TwitterFacebookLike this:LikeBe the first to like this. [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/" rel="nofollow">http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/</a> Share this:TwitterFacebookLike this:LikeBe the first to like this. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin</title>
		<link>http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/#comment-330</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Tue, 01 May 2012 08:43:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=219#comment-330</guid>
		<description>Finally a simple example that works, i&#039;ve trying to post data in for ages now. You are a few steps ahead of me, i&#039;ve come from PHP and that logic doesn&#039;t apply, but warming to Django.

Thanks for the exmaple.

Col.</description>
		<content:encoded><![CDATA[<p>Finally a simple example that works, i&#8217;ve trying to post data in for ages now. You are a few steps ahead of me, i&#8217;ve come from PHP and that logic doesn&#8217;t apply, but warming to Django.</p>
<p>Thanks for the exmaple.</p>
<p>Col.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: susan</title>
		<link>http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/#comment-320</link>
		<dc:creator>susan</dc:creator>
		<pubDate>Tue, 24 Apr 2012 22:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=219#comment-320</guid>
		<description>THANK YOU! I agree with Ross - this example helped me get my site up and going (or the basics of it anyway)</description>
		<content:encoded><![CDATA[<p>THANK YOU! I agree with Ross &#8211; this example helped me get my site up and going (or the basics of it anyway)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sahat</title>
		<link>http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/#comment-311</link>
		<dc:creator>sahat</dc:creator>
		<pubDate>Thu, 19 Apr 2012 08:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=219#comment-311</guid>
		<description>Very helpful tutorial! Thanks.</description>
		<content:encoded><![CDATA[<p>Very helpful tutorial! Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Goldstick</title>
		<link>http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/#comment-62</link>
		<dc:creator>Joel Goldstick</dc:creator>
		<pubDate>Mon, 13 Feb 2012 20:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=219#comment-62</guid>
		<description>I like your article.  I downloaded your code and ran the site.  It only lets you put in phone numbers in the admin app.  Is that what you wanted? or is there a missing view?</description>
		<content:encoded><![CDATA[<p>I like your article.  I downloaded your code and ran the site.  It only lets you put in phone numbers in the admin app.  Is that what you wanted? or is there a missing view?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adeds</title>
		<link>http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/#comment-56</link>
		<dc:creator>adeds</dc:creator>
		<pubDate>Mon, 06 Feb 2012 17:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=219#comment-56</guid>
		<description>hi!!!</description>
		<content:encoded><![CDATA[<p>hi!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://www.peachybits.com/2011/09/django-1-3-form-api-modelform-example/#comment-48</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 24 Jan 2012 17:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=219#comment-48</guid>
		<description>Just so you know, this has been the best piece of Django help I have come across..
Seriously, thank you.</description>
		<content:encoded><![CDATA[<p>Just so you know, this has been the best piece of Django help I have come across..<br />
Seriously, thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
