<?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 AsynchronousBlog</title>
	<atom:link href="http://www.asynchronous.org/blog/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.asynchronous.org/blog</link>
	<description>Random stuff for search engines to index.</description>
	<lastBuildDate>Tue, 02 Feb 2010 15:54:04 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on django timezone view handling by dave</title>
		<link>http://www.asynchronous.org/blog/archives/2009/10/10/django-timezone-view-handling/comment-page-1#comment-455</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Tue, 02 Feb 2010 15:54:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.asynchronous.org/blog/?p=89#comment-455</guid>
		<description>&lt;p&gt;Not sure if I&#039;ve missed something here,m but I found adding the following aided with saving to mysql:-&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;def get_db_prep_value(self, value):
    # Casts dates into the format expected by the backend
    if value is not None:
        value = value.replace(tzinfo=None)
    return super(LocalizedDateTimeField, self).get_db_prep_value(value)
&lt;/code&gt;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Not sure if I&#8217;ve missed something here,m but I found adding the following aided with saving to mysql:-</p>

<pre><code>def get_db_prep_value(self, value):
    # Casts dates into the format expected by the backend
    if value is not None:
        value = value.replace(tzinfo=None)
    return super(LocalizedDateTimeField, self).get_db_prep_value(value)
</code></pre>]]></content:encoded>
	</item>
</channel>
</rss>
