<?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>Greg Allard &#187; Greg&#8217;s Comments on the Internet</title>
	<atom:link href="http://gregallard.com/category/aggregated-content/comments-by-greg/feed/" rel="self" type="application/rss+xml" />
	<link>http://gregallard.com</link>
	<description>The portfolio of the web developer.</description>
	<lastBuildDate>Fri, 11 Sep 2009 00:41:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Display Realtime Traffic Analytics</title>
		<link>http://www.backtype.com/gallard/comment/00002548342eb4bff8cb30fa60e75a76</link>
		<comments>http://www.backtype.com/gallard/comment/00002548342eb4bff8cb30fa60e75a76#comments</comments>
		<pubDate>Wed, 02 Sep 2009 20:50:50 +0000</pubDate>
		<dc:creator>pyroman</dc:creator>
				<category><![CDATA[Greg's Comments on the Internet]]></category>

		<guid isPermaLink="false">tag:feeds.backtype.com://d92861e8b029e6dac2a1666e150d743b</guid>
		<description><![CDATA[<p>I left that out of the post because I didn't change it from what Apache was installed with on my debian box. It looks like this.<p>#</p><p># The following directives define some format nicknames for use with</p><p># a CustomLog directive (see below).</p><p># If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i</p><p>#LogFormat &#34;%h %l %u %t \&#34;%r\&#34; %&#62;s %b \&#34;%{Referer}i\&#34; \&#34;%{User-Agent}i\&#34;&#34; combined</p><p>LogFormat &#34;%h %l %u %t \&#34;%r\&#34; %&#62;s %b&#34; common</p><p>LogFormat &#34;%{Referer}i -&#62; %U&#34; referer</p><p>LogFormat &#34;%{User-agent}i&#34; agent</p><p>Format reference: <a href="http://httpd.apache.org/docs/1.3/mod/mod_log_config.html#formats" rel="nofollow">http://httpd.apache.org/docs/1.3/mod/mod_log_config.html#for...</a></p></p><p><a href="http://www.backtype.com/gallard">Read more comments by Greg Allard</a></p>]]></description>
		<wfw:commentRss>http://www.backtype.com/gallard/comment/00002548342eb4bff8cb30fa60e75a76/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conditions on Count or Sum in MySQL</title>
		<link>http://www.backtype.com/gallard/comment/000042e0da0726afcaff1912f47f0855</link>
		<comments>http://www.backtype.com/gallard/comment/000042e0da0726afcaff1912f47f0855#comments</comments>
		<pubDate>Fri, 28 Aug 2009 20:31:01 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
				<category><![CDATA[Greg's Comments on the Internet]]></category>

		<guid isPermaLink="false">tag:feeds.backtype.com://52972c6a6dcdcd28a195a21185d7a32e</guid>
		<description><![CDATA[<p>yeah that looks like it should work</p><p><a href="http://www.backtype.com/gallard">Read more comments by Greg Allard</a></p>]]></description>
		<wfw:commentRss>http://www.backtype.com/gallard/comment/000042e0da0726afcaff1912f47f0855/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xapian-haystack &#8211; A Xapian backend for Django Haystack</title>
		<link>http://www.backtype.com/gallard/comment/0000254880a7a908f8cb30fa96a2b85a</link>
		<comments>http://www.backtype.com/gallard/comment/0000254880a7a908f8cb30fa96a2b85a#comments</comments>
		<pubDate>Tue, 11 Aug 2009 15:23:03 +0000</pubDate>
		<dc:creator>pyroman</dc:creator>
				<category><![CDATA[Greg's Comments on the Internet]]></category>

		<guid isPermaLink="false">tag:feeds.backtype.com://bff747659ad6629b068f3adfa33cb9bf</guid>
		<description><![CDATA[<p>I was using haystack with whoosh and running into the same problem. I was waiting for some updates on that, but I think I'll check this out first. Thanks for sharing the code.</p><p><a href="http://www.backtype.com/gallard">Read more comments by Greg Allard</a></p>]]></description>
		<wfw:commentRss>http://www.backtype.com/gallard/comment/0000254880a7a908f8cb30fa96a2b85a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Django Model Manager for Soft Deleting Records and How to Customize the Django Admin</title>
		<link>http://www.backtype.com/gallard/comment/000042e08d2499b3caff19126a7b5912</link>
		<comments>http://www.backtype.com/gallard/comment/000042e08d2499b3caff19126a7b5912#comments</comments>
		<pubDate>Mon, 10 Aug 2009 14:46:43 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
				<category><![CDATA[Greg's Comments on the Internet]]></category>

		<guid isPermaLink="false">tag:feeds.backtype.com://9a89605b948241845955fa087ec37123</guid>
		<description><![CDATA[<p>That would work. If you are using a signal (pre_delete or post_delete), you might need to send it from the new function since you wouldn't want to call the real delete.</p><p>I've been doing object.deleted = 1 object.save() and not calling or overriding delete(). That way I still have the option to do the real delete in case I need it. You could probably make a real_delete() function to do that if needed though.</p><p><a href="http://www.backtype.com/gallard">Read more comments by Greg Allard</a></p>]]></description>
		<wfw:commentRss>http://www.backtype.com/gallard/comment/000042e08d2499b3caff19126a7b5912/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python Projects in Users’ Home Directories with wsgi</title>
		<link>http://www.backtype.com/gallard/comment/000042e0a49a6d65caff1912d528ab56</link>
		<comments>http://www.backtype.com/gallard/comment/000042e0a49a6d65caff1912d528ab56#comments</comments>
		<pubDate>Wed, 22 Jul 2009 19:48:51 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
				<category><![CDATA[Greg's Comments on the Internet]]></category>

		<guid isPermaLink="false">tag:feeds.backtype.com://049643a6bd67d67fc70c1b6729d45ebf</guid>
		<description><![CDATA[<p>I like the AddHandler approach more than what I was trying in this post. It is better since AddHandler will work in an .htaccess file. Which means this doesn't require a new public_python folder and doesn't require /p/ to be added to the url. </p><p>Before arriving at the solution in my post I tried using an .htaccess file and the directives I tried weren't supported in .htaccess. I didn't read the part about AddHandler so I missed that.</p><p>Something with either WSGIDaemonProcess or WSGIProcessGroup from the code in the blog post is making those applications work in daemon mode. It seems like any wsgi file that is touched will result in the code being reloaded for that project.</p><p><a href="http://www.backtype.com/gallard">Read more comments by Greg Allard</a></p>]]></description>
		<wfw:commentRss>http://www.backtype.com/gallard/comment/000042e0a49a6d65caff1912d528ab56/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Django Model Manager for Soft Deleting Records and How to Customize the Django Admin</title>
		<link>http://www.backtype.com/gallard/comment/000042e08d2499b3caff1912990ba4ab</link>
		<comments>http://www.backtype.com/gallard/comment/000042e08d2499b3caff1912990ba4ab#comments</comments>
		<pubDate>Wed, 22 Jul 2009 19:38:01 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
				<category><![CDATA[Greg's Comments on the Internet]]></category>

		<guid isPermaLink="false">tag:feeds.backtype.com://3c8836c6f2af0ca0e587b72d80f32349</guid>
		<description><![CDATA[<p>I tested this out with a simple many to many example and I am not getting the soft deleted objects returned. With objects = SoftDeleteManager the many to many queries will be using get_query_set() which won't return the soft deleted records. I might need to see an example of how you are getting the deleted results to be able to figure out what is going on. I tried it with some_object.related_things.all() and the returned set won't have deleted related_things.</p><p><a href="http://www.backtype.com/gallard">Read more comments by Greg Allard</a></p>]]></description>
		<wfw:commentRss>http://www.backtype.com/gallard/comment/000042e08d2499b3caff1912990ba4ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python Projects in Users’ Home Directories with wsgi</title>
		<link>http://www.backtype.com/gallard/comment/000042e0a49a6d65caff19126b55e752</link>
		<comments>http://www.backtype.com/gallard/comment/000042e0a49a6d65caff19126b55e752#comments</comments>
		<pubDate>Thu, 09 Jul 2009 15:06:18 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
				<category><![CDATA[Greg's Comments on the Internet]]></category>

		<guid isPermaLink="false">tag:feeds.backtype.com://d67ac9e4165dca7e857eccac36877136</guid>
		<description><![CDATA[<p>I tried it without the LocationMatch directives and it works with just having AliasMatch in there for the static locations.</p><p>I didn't expect that WSGIDaemonProcess wouldn't expand the python_project_name. I was doing that so that each project would have a different process so touching one wsgi file wouldn't effect another project. It seemed like it was working like that.</p><p>If you can figure out a better way of doing this that would be awesome.</p><p><a href="http://www.backtype.com/gallard">Read more comments by Greg Allard</a></p>]]></description>
		<wfw:commentRss>http://www.backtype.com/gallard/comment/000042e0a49a6d65caff19126b55e752/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python Projects in Users’ Home Directories with wsgi</title>
		<link>http://www.backtype.com/gallard/comment/000042e0a49a6d65caff19120126ac53</link>
		<comments>http://www.backtype.com/gallard/comment/000042e0a49a6d65caff19120126ac53#comments</comments>
		<pubDate>Wed, 08 Jul 2009 22:27:03 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
				<category><![CDATA[Greg's Comments on the Internet]]></category>

		<guid isPermaLink="false">tag:feeds.backtype.com://cae322899913527d9dfa04a7c32fa70c</guid>
		<description><![CDATA[<p>Thanks for taking at look at this. I'll test it without SetHandler None when I get a chance. It is probably something I was keeping around from when I was using mod_python. I'm guessing I need to keep LocationMatch in there so that the request doesn't go to the wsgi file though, right?</p><p><a href="http://www.backtype.com/gallard">Read more comments by Greg Allard</a></p>]]></description>
		<wfw:commentRss>http://www.backtype.com/gallard/comment/000042e0a49a6d65caff19120126ac53/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python Projects in Users’ Home Directories with wsgi</title>
		<link>http://www.backtype.com/gallard/comment/0000254816cfb5c3f8cb30fa3d9e8c12</link>
		<comments>http://www.backtype.com/gallard/comment/0000254816cfb5c3f8cb30fa3d9e8c12#comments</comments>
		<pubDate>Wed, 08 Jul 2009 18:53:00 +0000</pubDate>
		<dc:creator>pyroman</dc:creator>
				<category><![CDATA[Greg's Comments on the Internet]]></category>

		<guid isPermaLink="false">tag:feeds.backtype.com://5e805987d9e4cd6c761732e044b582ba</guid>
		<description><![CDATA[<p>I tried doing it that way first, but the wsgi directives aren't allowed in an .htaccess file. It would have been much better to have a user place a few lines in their .htaccess file for python projects, but I didn't find a way of doing that.</p><p><a href="http://www.backtype.com/gallard">Read more comments by Greg Allard</a></p>]]></description>
		<wfw:commentRss>http://www.backtype.com/gallard/comment/0000254816cfb5c3f8cb30fa3d9e8c12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Django Model Manager for Soft Deleting Records and How to Customize the Django Admin</title>
		<link>http://www.backtype.com/gallard/comment/000042e08d2499b3caff1912c5976c32</link>
		<comments>http://www.backtype.com/gallard/comment/000042e08d2499b3caff1912c5976c32#comments</comments>
		<pubDate>Thu, 02 Jul 2009 13:50:33 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
				<category><![CDATA[Greg's Comments on the Internet]]></category>

		<guid isPermaLink="false">tag:feeds.backtype.com://c2f9536374f1b2095a1b808cb3b49831</guid>
		<description><![CDATA[<p>You can do this.<br />from somewhere import SoftDeleteManager</p><p>class NewManager(SoftDeleteManager):<br />    '''new stuff'''</p><p>and in the model<br />objects = NewManager()</p><p><a href="http://www.backtype.com/gallard">Read more comments by Greg Allard</a></p>]]></description>
		<wfw:commentRss>http://www.backtype.com/gallard/comment/000042e08d2499b3caff1912c5976c32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
