<?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: DB2 Express-C 9.7 and the Django adapter released	</title>
	<atom:link href="https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/feed/" rel="self" type="application/rss+xml" />
	<link>https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/</link>
	<description>Meditations on programming, startups, and technology</description>
	<lastBuildDate>Thu, 06 Aug 2009 17:28:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: The DB2 adapter now supports Django 1.1 &#124; Zen and the Art of Programming		</title>
		<link>https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/#comment-6972</link>

		<dc:creator><![CDATA[The DB2 adapter now supports Django 1.1 &#124; Zen and the Art of Programming]]></dc:creator>
		<pubDate>Thu, 06 Aug 2009 17:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=825#comment-6972</guid>

					<description><![CDATA[[...] This version extends its support to the recently released Django 1.1, as well as incorporating the feedback that was received earlier on.  (For installation instructions, take a look at the README [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] This version extends its support to the recently released Django 1.1, as well as incorporating the feedback that was received earlier on.  (For installation instructions, take a look at the README [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tarun Pasrija		</title>
		<link>https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/#comment-6969</link>

		<dc:creator><![CDATA[Tarun Pasrija]]></dc:creator>
		<pubDate>Thu, 06 Aug 2009 13:24:21 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=825#comment-6969</guid>

					<description><![CDATA[@Antonio
@Kevin
@Eric

DB2 support for Django 1.1 is now available. I have just released ibm_db_django-0.1.2 and all the above points about packaging, uploading to pypi etc. have been taken care of. For users who are still using Django 1.0.x code line, our adapter is backward compatible. Would love to hear your comments/suggestions for the same.

http://groups.google.com/group/ibm_db/browse_frm/thread/98c2c700412688

Thanks and Regards
Tarun Pasrija]]></description>
			<content:encoded><![CDATA[<p>@Antonio<br />
@Kevin<br />
@Eric</p>
<p>DB2 support for Django 1.1 is now available. I have just released ibm_db_django-0.1.2 and all the above points about packaging, uploading to pypi etc. have been taken care of. For users who are still using Django 1.0.x code line, our adapter is backward compatible. Would love to hear your comments/suggestions for the same.</p>
<p><a href="http://groups.google.com/group/ibm_db/browse_frm/thread/98c2c700412688" rel="nofollow ugc">http://groups.google.com/group/ibm_db/browse_frm/thread/98c2c700412688</a></p>
<p>Thanks and Regards<br />
Tarun Pasrija</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Robert		</title>
		<link>https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/#comment-6480</link>

		<dc:creator><![CDATA[Robert]]></dc:creator>
		<pubDate>Thu, 25 Jun 2009 19:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=825#comment-6480</guid>

					<description><![CDATA[YES! Finally. Thanks IBM ;)]]></description>
			<content:encoded><![CDATA[<p>YES! Finally. Thanks IBM 😉</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Oracle kills Virtual Iron. Is MySQL next? &#124; FreeDB2.com		</title>
		<link>https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/#comment-6465</link>

		<dc:creator><![CDATA[Oracle kills Virtual Iron. Is MySQL next? &#124; FreeDB2.com]]></dc:creator>
		<pubDate>Tue, 23 Jun 2009 15:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=825#comment-6465</guid>

					<description><![CDATA[[...] compatible. For those using dynamic language frameworks like Ruby on Rails and Zend Framework or Django it should be a no-brainer. You can expect very good performance (better than what you have with [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] compatible. For those using dynamic language frameworks like Ruby on Rails and Zend Framework or Django it should be a no-brainer. You can expect very good performance (better than what you have with [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tarun Pasrija		</title>
		<link>https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/#comment-6455</link>

		<dc:creator><![CDATA[Tarun Pasrija]]></dc:creator>
		<pubDate>Mon, 22 Jun 2009 10:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=825#comment-6455</guid>

					<description><![CDATA[@Gonçalo
  Yes z/OS will be supported in future.

@Kevin
 Thanks for your great comments/suggestions. We appreciate them, so please keep them coming. For #1, #2, #3 these will be corrected. For #4, we will be supporting these from PyPI.

For #5 and also answering James, it was sure not the intent to be asking for insertion into Django this way :-) (although Jacob&#039;s view is public @ http://simonwillison.net/2009/Feb/18/db2/#c43517 ) We didnt spend any much time on this nitty-gritty. An independent package seems more right though.

The next release will take care of these.

@Eric,
Django 1.1 support is what we are working on.]]></description>
			<content:encoded><![CDATA[<p>@Gonçalo<br />
  Yes z/OS will be supported in future.</p>
<p>@Kevin<br />
 Thanks for your great comments/suggestions. We appreciate them, so please keep them coming. For #1, #2, #3 these will be corrected. For #4, we will be supporting these from PyPI.</p>
<p>For #5 and also answering James, it was sure not the intent to be asking for insertion into Django this way 🙂 (although Jacob&#8217;s view is public @ <a href="http://simonwillison.net/2009/Feb/18/db2/#c43517" rel="nofollow ugc">http://simonwillison.net/2009/Feb/18/db2/#c43517</a> ) We didnt spend any much time on this nitty-gritty. An independent package seems more right though.</p>
<p>The next release will take care of these.</p>
<p>@Eric,<br />
Django 1.1 support is what we are working on.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Bennett		</title>
		<link>https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/#comment-6442</link>

		<dc:creator><![CDATA[James Bennett]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 06:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=825#comment-6442</guid>

					<description><![CDATA[I&#039;ll second most of Kevin&#039;s comments, especially item #4. Third-party code which asks to be inserted into the Django source tree is something to be discouraged in the strongest possible terms, and especially in this case since Django can use database backends from anywhere on the Python path.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll second most of Kevin&#8217;s comments, especially item #4. Third-party code which asks to be inserted into the Django source tree is something to be discouraged in the strongest possible terms, and especially in this case since Django can use database backends from anywhere on the Python path.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Eric		</title>
		<link>https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/#comment-6439</link>

		<dc:creator><![CDATA[Eric]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 04:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=825#comment-6439</guid>

					<description><![CDATA[Is there any intent on keeping the db2 adapter sync to Django&#039;s trunk? Django 1.1 changed the database significantly to add aggregation and I know a LOT of Django sites run on near-trunk Django since there is huge time gaps between releases.]]></description>
			<content:encoded><![CDATA[<p>Is there any intent on keeping the db2 adapter sync to Django&#8217;s trunk? Django 1.1 changed the database significantly to add aggregation and I know a LOT of Django sites run on near-trunk Django since there is huge time gaps between releases.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Shawn		</title>
		<link>https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/#comment-6436</link>

		<dc:creator><![CDATA[Shawn]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 01:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=825#comment-6436</guid>

					<description><![CDATA[Any word on when 9.7 for OS X will be released?]]></description>
			<content:encoded><![CDATA[<p>Any word on when 9.7 for OS X will be released?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Antonio Cangiano		</title>
		<link>https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/#comment-6434</link>

		<dc:creator><![CDATA[Antonio Cangiano]]></dc:creator>
		<pubDate>Fri, 19 Jun 2009 23:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=825#comment-6434</guid>

					<description><![CDATA[Kevin, I will show your comment to the adapter&#039;s developers. Thanks.]]></description>
			<content:encoded><![CDATA[<p>Kevin, I will show your comment to the adapter&#8217;s developers. Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kevin Teague		</title>
		<link>https://programmingzen.com/db2-express-c-97-and-the-django-adapter-released/#comment-6433</link>

		<dc:creator><![CDATA[Kevin Teague]]></dc:creator>
		<pubDate>Fri, 19 Jun 2009 23:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=825#comment-6433</guid>

					<description><![CDATA[Some notes from the PPP (Python Packaging Police):

1. The DB2 Django adapter project is named &#039;ibm_db_django&#039; (and reflected in     the distribution as ibm_db_django-0.1.0.tar.gz). But then the setup.py uses &#039;django.db.backends.db2&#039; as the name. The name field is for the project name, not a package name provided by that project, so this field should be &#039;ibm_db_django&#039;.

2. The &#039;requires&#039; field is deprecated, and has been replaced by &#039;install_requires&#039;. The &#039;requires&#039; field lists package names (e.g. used in import statements), while &#039;install_requires&#039; lists project names. It&#039;s not possible to do anything useful with a list of requires, where as a list of project&#039;s that a project requires is quite useful. For example, &#039;requires&#039; lists &#039;django&#039; as a requirement ... but there is no such project with that name! However, the &#039;Django&#039; project provides the &#039;django&#039; package.

3. This is bad:

try:
    import ibm_db
    import ibm_db_dbi
except ImportError:
    print &#039;&#039;&#039;ibm_db/ibm_db_dbi module is not installed.&#039;&#039;&#039;
    sys.exit()

It&#039;s sufficient to simply list the imb_db project as a dependency in &#039;install_requires&#039;. In many cases, a package can be available for import only after doing PATH manipulation, and so may be installed perfectly fine, but isn&#039;t available for import from setup.py.

4. Google Code provides a place to release distributions, but it&#039;s better to use PyPI for releasing all python package distributions. This way the distribution is easier to find, and it can also take advantage of any PyPI mirroring to avoid introducing a single-point of failure at installation.

5. AFAIK, the Django db backends don&#039;t have to live within the &#039;django.db.backends&#039; namespace. It&#039;s probably better to put this package in it&#039;s own namespace outside of the django.* namespaces. e.g. &#039;ibm.django.db&#039; or some such, especially since &#039;django.db.backends&#039; isn&#039;t declared as a namepsace package.

Yeah, so python packaging is a bit messy - but work is being done to clean it up. If people have questions, they are welcome to ask them on the packaging mailing list (Distutils-SIG) - this is especially helpful if people can pinpoint where they are being tripped up, so that we can make the Python packaging documentation more easily understood. Ideally, a well packaged Python project shouldn&#039;t need any installation instructions at all - people should just need to know the project name, and feed that into their installation tool of choice (Distutils, easy_install, buildout, pip).]]></description>
			<content:encoded><![CDATA[<p>Some notes from the PPP (Python Packaging Police):</p>
<p>1. The DB2 Django adapter project is named &#8216;ibm_db_django&#8217; (and reflected in     the distribution as ibm_db_django-0.1.0.tar.gz). But then the setup.py uses &#8216;django.db.backends.db2&#8217; as the name. The name field is for the project name, not a package name provided by that project, so this field should be &#8216;ibm_db_django&#8217;.</p>
<p>2. The &#8216;requires&#8217; field is deprecated, and has been replaced by &#8216;install_requires&#8217;. The &#8216;requires&#8217; field lists package names (e.g. used in import statements), while &#8216;install_requires&#8217; lists project names. It&#8217;s not possible to do anything useful with a list of requires, where as a list of project&#8217;s that a project requires is quite useful. For example, &#8216;requires&#8217; lists &#8216;django&#8217; as a requirement &#8230; but there is no such project with that name! However, the &#8216;Django&#8217; project provides the &#8216;django&#8217; package.</p>
<p>3. This is bad:</p>
<p>try:<br />
    import ibm_db<br />
    import ibm_db_dbi<br />
except ImportError:<br />
    print &#8221;&#8217;ibm_db/ibm_db_dbi module is not installed.&#8221;&#8217;<br />
    sys.exit()</p>
<p>It&#8217;s sufficient to simply list the imb_db project as a dependency in &#8216;install_requires&#8217;. In many cases, a package can be available for import only after doing PATH manipulation, and so may be installed perfectly fine, but isn&#8217;t available for import from setup.py.</p>
<p>4. Google Code provides a place to release distributions, but it&#8217;s better to use PyPI for releasing all python package distributions. This way the distribution is easier to find, and it can also take advantage of any PyPI mirroring to avoid introducing a single-point of failure at installation.</p>
<p>5. AFAIK, the Django db backends don&#8217;t have to live within the &#8216;django.db.backends&#8217; namespace. It&#8217;s probably better to put this package in it&#8217;s own namespace outside of the django.* namespaces. e.g. &#8216;ibm.django.db&#8217; or some such, especially since &#8216;django.db.backends&#8217; isn&#8217;t declared as a namepsace package.</p>
<p>Yeah, so python packaging is a bit messy &#8211; but work is being done to clean it up. If people have questions, they are welcome to ask them on the packaging mailing list (Distutils-SIG) &#8211; this is especially helpful if people can pinpoint where they are being tripped up, so that we can make the Python packaging documentation more easily understood. Ideally, a well packaged Python project shouldn&#8217;t need any installation instructions at all &#8211; people should just need to know the project name, and feed that into their installation tool of choice (Distutils, easy_install, buildout, pip).</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
