<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gundy dot org &#187; Django</title>
	<atom:link href="http://gundy.org/tags/django/feed/" rel="self" type="application/rss+xml" />
	<link>http://gundy.org</link>
	<description>Gabriel Gunderson's blog about stuff and things.</description>
	<lastBuildDate>Wed, 07 Oct 2009 07:33:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Django RULES!!!</title>
		<link>http://gundy.org/2006/11/03/django-rules/</link>
		<comments>http://gundy.org/2006/11/03/django-rules/#comments</comments>
		<pubDate>Sat, 04 Nov 2006 05:32:00 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Lazy Web]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://gundy.org/2006/11/03/django-rules/</guid>
		<description><![CDATA[But sadly, it&#8217;s unusable for me.  It really, really bums me out.
The bugs responsible are here and here.  There&#8217;s related reading in Google Groups and also a related ticket here.
I want to put out a bounty for this bug, but I don&#8217;t want to step on the toes of the developers. Any fix [...]]]></description>
			<content:encoded><![CDATA[<p><em>But</em> sadly, it&#8217;s <em>unusable</em> for <em>me</em>.  It really, really bums me out.</p>
<p>The bugs responsible are <a href="http://code.djangoproject.com/ticket/2549">here</a> and <a href="http://code.djangoproject.com/ticket/2885">here</a>.  There&#8217;s related reading in <a href="http://groups.google.com/group/django-users/browse_thread/thread/1d73cec767f42c38/84538ca609dceee2?lnk=gst&#038;q=infinite+loop&#038;rnum=1">Google</a> <a href="http://groups.google.com/group/django-users/browse_thread/thread/29a5d3bffa19db0d/e83c43134d6ffab8?lnk=gst&#038;q=foreign+key+loop&#038;rnum=5#e83c43134d6ffab8">Groups</a> and also a related ticket <a href="http://code.djangoproject.com/ticket/2874">here</a>.</p>
<p>I want to put out a bounty for this bug, but I don&#8217;t want to step on the toes of the developers. Any fix that would be worth paying for would have to be one that the developers would approve of. I don&#8217;t even know what work might already be done on it.  I guess I haven&#8217;t browsed the source yet to see what&#8217;s happening lately.  That will be the next step.</p>
<p>Does anyone know if any work is being done on this?  I have a few projects that I want to get started using Django, but this has taken the wind out of my sails. :(</p>
<p><strong>Update</strong>: There are a <a href="http://groups.google.com/group/django-developers/browse_thread/thread/1026181083385c58/f09aa86071a7549c?lnk=gst&#038;q=cache&#038;rnum=5#f09aa86071a7549c">few</a> <a href="http://code.djangoproject.com/ticket/167">more</a> <a href="http://groups.google.com/group/django-developers/browse_thread/thread/3d2bc1c9d534db46/5b4b29ccf18cd31e?lnk=gst&#038;q=fk&#038;rnum=8#5b4b29ccf18cd31e">places</a> to find related info.</p>
]]></content:encoded>
			<wfw:commentRss>http://gundy.org/2006/11/03/django-rules/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Django VS the AMD Sempron</title>
		<link>http://gundy.org/2006/10/16/django-vs-the-amd-sempron/</link>
		<comments>http://gundy.org/2006/10/16/django-vs-the-amd-sempron/#comments</comments>
		<pubDate>Mon, 16 Oct 2006 16:29:27 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://gundy.org/2006/10/16/django-vs-the-amd-sempron/</guid>
		<description><![CDATA[Today&#8217;s screenshot is brought to you by the Django Admin interface:

For those of you who don&#8217;t recognize this, it&#8217;s the GNOME System Monitor applet.  The dark blue basically represents CPU usage for Django (more accurately &#8211; caused by Django).  The model validates [1] and the tables/Models are shown in the front page of [...]]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s screenshot is brought to you by the <a title="Django" href="http://www.djangoproject.com/">Django</a> <a title="Admin interface" href="http://www.djangoproject.com/documentation/tutorial2/">Admin interface</a>:</p>
<p><img alt="CPU at 100%" id="image101" src="http://gundy.org/wp-content/uploads/2006/10/100CPU.png" /></p>
<p>For those of you who don&#8217;t recognize this, it&#8217;s the <a title="GNOME" href="http://www.gnome.org/">GNOME</a> System Monitor applet.  The dark blue basically represents CPU usage for Django (more accurately &#8211; <em>caused</em> by Django).  The <a title="Django Models" href="http://www.djangoproject.com/documentation/model_api/">model</a> validates [1] and the tables/Models are shown in the front page of the Admins interface.  Most of the Models are represented well and work as one would expect.  However, there is one table/Model that doesn&#8217;t work as expected.  It works OK when you go to add an additional record [2], but when going to view items before changing them [3], it causes the CPU to spike and three minutes later I have my results.  Before I edited the table/Model to remove one of the ForeignKeys, I would get a <a title="http://www.postgresql.org/" href="http://gundy.org/wp-admin/PostgreSQL">PostgreSQL</a> <a title="PostgreSQL/Django error - Paste Bin" href="http://paste.e-scribe.com/1978/">error because Django passed it a SELECT statement with *over* 1664 entries</a> [4]!  Well, it seems that by editing the table I was able to keep the entries under the 1664 limit and PostgreSQL would process the SELECT, but it takes <span style="font-style: italic">forever</span> to finish it.</p>
<p>I guess that technically, the CPU is being eaten up by PostgreSQL, but that&#8217;s not really the point.  The point is that Django really doesn&#8217;t have any business sending it a SELECT statement with some 2000+ entries in it (especially for such a simple, simple request.)  OK, so  maybe it has a bug, limitation or whatever, I&#8217;m cool with that &#8211; it happens.  The frustrating part is that I can&#8217;t confirm that this is a known problem <span style="font-style: italic">or</span> find the answer.  The answer I&#8217;m looking for should be simple, but I have not been able to find it.  IRC and #django was a bust and the <a title="Django Mailing List" href="http://groups.google.com/group/django-users/browse_thread/thread/29a5d3bffa19db0d">mailing list yields nothing yet</a>.</p>
<p>I was pretty enthusiastic about Django, but maybe it&#8217;s to soon.  It&#8217;s a cool project and I wish them luck.  I&#8217;m just wondering if all the time spent so far porting one of my apps to the Django framework was time wasted or not.</p>
<p>1) -<br />
./manage.py runserver<br />
Validating models&#8230;<br />
0 errors found.</p>
<p>2) http://localhost:8000/admin/App/Model/add/</p>
<p>3) http://localhost:8000/admin/App/Model/</p>
<p>4) -<br />
Request URL:     http://localhost:8000/admin/core/stagedorder/<br />
Exception Type:  ProgrammingError<br />
Exception Value: ERROR: target lists can have at most 1664 entries SELECT</p>
]]></content:encoded>
			<wfw:commentRss>http://gundy.org/2006/10/16/django-vs-the-amd-sempron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python and Django &#8211; Big points in the first quarter.</title>
		<link>http://gundy.org/2006/10/10/python-and-django-big-points-in-the-first-quarter/</link>
		<comments>http://gundy.org/2006/10/10/python-and-django-big-points-in-the-first-quarter/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 03:34:54 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://gundy.org/2006/10/10/python-and-django-big-points-in-the-first-quarter/</guid>
		<description><![CDATA[I don&#8217;t have a ton to say right now (really, I don&#8217;t have a lot of *time* to say it), but first impressions of Python and Django are very positive.  The admin interface is a great little tool to get things going FAST.  I&#8217;m really, really impressed.  The CREATE TABLES are clean, [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t have a ton to say right now (really, I don&#8217;t have a lot of *time* to say it), but first impressions of Python and Django are very positive.  The admin interface is a great little tool to get things going FAST.  I&#8217;m really, really impressed.  The CREATE TABLES are clean, the SQL is clean and the DB API is clean (different, but I can learn to like it); I&#8217;m really enjoying it.  How often can you say that?</p>
<div style="text-align: center"><img alt="Python Logo" id="image99" src="http://gundy.org/wp-content/uploads/2006/10/python.jpg" /></div>
<div style="text-align: center"><img alt="Django Logo" id="image98" src="http://gundy.org/wp-content/uploads/2006/10/django.jpg" /></div>
<p>Extra points for:</p>
<ul>
<li>PostgreSQL as preferred database.</li>
<li>Template system that strikes a good balance.</li>
<li>Powerful and clean URL handling.</li>
<li>Modular design.</li>
</ul>
<p>Needs work:</p>
<ul>
<li>Namespace support for PostgreSQL (app_table vs. app.table).</li>
<li>Keeping data model and DB schema synced (this might be in a better state then I know; I need to read up on it).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://gundy.org/2006/10/10/python-and-django-big-points-in-the-first-quarter/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
