<?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 for Peachy Bits</title>
	<atom:link href="http://www.peachybits.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peachybits.com</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>Comment on Django 1.3 Form API ModelForm Example 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>Comment on Django 1.3 Form API ModelForm Example 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>Comment on Django 1.3 Form API ModelForm Example 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>Comment on Django 1.3 Form API ModelForm Example 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>Comment on Demystifying TIER Permissions by Keith Rowley</title>
		<link>http://www.peachybits.com/2012/05/demystifying-tier-permissions/#comment-465</link>
		<dc:creator>Keith Rowley</dc:creator>
		<pubDate>Mon, 11 Jun 2012 18:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=329#comment-465</guid>
		<description>This is really cool. Thanks for posting this. 

Could you post the code for usp_GenerateNewID sometime so I can see what you are doing different here than the standard TIER_GETNEWID?</description>
		<content:encoded><![CDATA[<p>This is really cool. Thanks for posting this. </p>
<p>Could you post the code for usp_GenerateNewID sometime so I can see what you are doing different here than the standard TIER_GETNEWID?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on op__ParentID Audit and View v_DocStandardKeys by Keith Rowley</title>
		<link>http://www.peachybits.com/2011/10/op__parentid-audit-and-view-v_docstandardkeys/#comment-464</link>
		<dc:creator>Keith Rowley</dc:creator>
		<pubDate>Mon, 11 Jun 2012 18:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=269#comment-464</guid>
		<description>I got an error when trying to alter the table:
Msg 106, Level 15, State 1, Procedure v_DocStandardKeys, Line 259
Too many table names in the query. The maximum allowable is 256.

I have over 500 tables in my tier database, but most of them are empty FD table for forms we don&#039;t use.

If you add the following to the Where clause of the Select statement that pulls the list of tables you can have tier only pull tables with at least one row.

AND 
(select Sum(row_count) from sys.dm_db_partition_stats
where object_id = o.id) &gt; 0</description>
		<content:encoded><![CDATA[<p>I got an error when trying to alter the table:<br />
Msg 106, Level 15, State 1, Procedure v_DocStandardKeys, Line 259<br />
Too many table names in the query. The maximum allowable is 256.</p>
<p>I have over 500 tables in my tier database, but most of them are empty FD table for forms we don&#8217;t use.</p>
<p>If you add the following to the Where clause of the Select statement that pulls the list of tables you can have tier only pull tables with at least one row.</p>
<p>AND<br />
(select Sum(row_count) from sys.dm_db_partition_stats<br />
where object_id = o.id) &gt; 0</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Demystifying TIER Permissions by Design Patterns for Creating New Documents in TIER - Peachy Bits</title>
		<link>http://www.peachybits.com/2012/05/demystifying-tier-permissions/#comment-349</link>
		<dc:creator>Design Patterns for Creating New Documents in TIER - Peachy Bits</dc:creator>
		<pubDate>Wed, 16 May 2012 23:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=329#comment-349</guid>
		<description>[...] Demystifying TIER Permissions continues this discussion and adds permissions. [...]</description>
		<content:encoded><![CDATA[<p>[...] Demystifying TIER Permissions continues this discussion and adds permissions. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Design Patterns for Creating New Documents in TIER by Demystifying TIER Permissions - Peachy Bits</title>
		<link>http://www.peachybits.com/2011/12/design-patterns-for-creating-new-documents-in-tier/#comment-348</link>
		<dc:creator>Demystifying TIER Permissions - Peachy Bits</dc:creator>
		<pubDate>Wed, 16 May 2012 23:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=296#comment-348</guid>
		<description>[...] is an example of what usp_NewDocumentTest5 might look like from my previous post Design Patterns for Creating New Documents in TIER [...]</description>
		<content:encoded><![CDATA[<p>[...] is an example of what usp_NewDocumentTest5 might look like from my previous post Design Patterns for Creating New Documents in TIER [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django 1.3 Form API ModelForm Example 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>Comment on op__ParentID Audit and View v_DocStandardKeys by Finding Document #s Used More Than Once - Peachy Bits</title>
		<link>http://www.peachybits.com/2011/10/op__parentid-audit-and-view-v_docstandardkeys/#comment-329</link>
		<dc:creator>Finding Document #s Used More Than Once - Peachy Bits</dc:creator>
		<pubDate>Tue, 01 May 2012 02:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.peachybits.com/?p=269#comment-329</guid>
		<description>[...] # being used more than once is a serious data integrity issue. Here&#8217;s a little query using v_DocStandardKeys to identify if your facility has this problem. 12345678SELECT sk.op__DocID , sk.TableName , [...]</description>
		<content:encoded><![CDATA[<p>[...] # being used more than once is a serious data integrity issue. Here&#8217;s a little query using v_DocStandardKeys to identify if your facility has this problem. 12345678SELECT sk.op__DocID , sk.TableName , [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
