<?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 The Glenbot</title>
	<atom:link href="http://theglenbot.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://theglenbot.com</link>
	<description>Code and other thoughts about geeky stuff</description>
	<lastBuildDate>Tue, 20 Dec 2011 22:01:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Git Cheat Sheet by nerdfiles</title>
		<link>http://theglenbot.com/git-cheat-sheet/#comment-482</link>
		<dc:creator>nerdfiles</dc:creator>
		<pubDate>Tue, 20 Dec 2011 22:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://theglenbot.com/?p=252#comment-482</guid>
		<description>Nice shwag. I&#039;ll pass it around.</description>
		<content:encoded><![CDATA[<p>Nice shwag. I&#8217;ll pass it around.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating a custom Http403 exception in Django by glenbot</title>
		<link>http://theglenbot.com/creating-a-custom-http403-exception-in-django/#comment-463</link>
		<dc:creator>glenbot</dc:creator>
		<pubDate>Tue, 01 Nov 2011 18:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://glenbot/?p=7#comment-463</guid>
		<description>That&#039;s a tricky one. You might want to try overriding the views using get_urls in the ModelAdmin:

https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.get_urls. 

Once you override it you can do your own permission checks and then call the parent view. Start there and dig deeper. In my case we hardly ever used the Django Admin.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a tricky one. You might want to try overriding the views using get_urls in the ModelAdmin:</p>
<p><a href="https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.get_urls" rel="nofollow">https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.get_urls</a>. </p>
<p>Once you override it you can do your own permission checks and then call the parent view. Start there and dig deeper. In my case we hardly ever used the Django Admin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating a custom Http403 exception in Django by Siva</title>
		<link>http://theglenbot.com/creating-a-custom-http403-exception-in-django/#comment-462</link>
		<dc:creator>Siva</dc:creator>
		<pubDate>Mon, 31 Oct 2011 15:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://glenbot/?p=7#comment-462</guid>
		<description>If I don&#039;t have permission in django admin, it will throw plain &quot;Permission Denied&quot; page. Can I use the above solution for customizing that also?</description>
		<content:encoded><![CDATA[<p>If I don&#8217;t have permission in django admin, it will throw plain &#8220;Permission Denied&#8221; page. Can I use the above solution for customizing that also?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSH to AWS using Fabric (python) by Martin</title>
		<link>http://theglenbot.com/ssh-to-aws-using-fabric-python/#comment-435</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Mon, 19 Sep 2011 06:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://theglenbot.com/?p=153#comment-435</guid>
		<description>Saved the day! Many thanks.</description>
		<content:encoded><![CDATA[<p>Saved the day! Many thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating a custom Http403 exception in Django by cocobuster</title>
		<link>http://theglenbot.com/creating-a-custom-http403-exception-in-django/#comment-432</link>
		<dc:creator>cocobuster</dc:creator>
		<pubDate>Sat, 03 Sep 2011 17:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://glenbot/?p=7#comment-432</guid>
		<description>Usefull thanks</description>
		<content:encoded><![CDATA[<p>Usefull thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Import MySQL database with progress bar in shell script by glenbot</title>
		<link>http://theglenbot.com/import-mysql-database-with-progress-bar-in-shell-script/#comment-426</link>
		<dc:creator>glenbot</dc:creator>
		<pubDate>Thu, 28 Jul 2011 12:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://theglenbot.com/?p=188#comment-426</guid>
		<description>Thanks for catching that. Updated.</description>
		<content:encoded><![CDATA[<p>Thanks for catching that. Updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Import MySQL database with progress bar in shell script by Christian "Wawi" Jacobsen</title>
		<link>http://theglenbot.com/import-mysql-database-with-progress-bar-in-shell-script/#comment-425</link>
		<dc:creator>Christian "Wawi" Jacobsen</dc:creator>
		<pubDate>Wed, 27 Jul 2011 02:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://theglenbot.com/?p=188#comment-425</guid>
		<description>There is a typo in the GTK version:

It says &quot;2&amp;&gt;1&quot;
It should say &quot;2&gt;&amp;1&quot;

(pv -n /path/to/sqlfile.sql &#124; mysql -uUSERNAME -pPASSWORD -D DATABASE_NAME) 2&gt;&amp;1 &#124;  zenity --width 550 --progress --auto-close --auto-kill --title &quot;Title of progress indicator&quot;

Great tip, thnx</description>
		<content:encoded><![CDATA[<p>There is a typo in the GTK version:</p>
<p>It says &#8220;2&#038;>1&#8243;<br />
It should say &#8220;2>&#038;1&#8243;</p>
<p>(pv -n /path/to/sqlfile.sql | mysql -uUSERNAME -pPASSWORD -D DATABASE_NAME) 2>&#038;1 |  zenity &#8211;width 550 &#8211;progress &#8211;auto-close &#8211;auto-kill &#8211;title &#8220;Title of progress indicator&#8221;</p>
<p>Great tip, thnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating a custom Http403 exception in Django by glenbot</title>
		<link>http://theglenbot.com/creating-a-custom-http403-exception-in-django/#comment-420</link>
		<dc:creator>glenbot</dc:creator>
		<pubDate>Wed, 01 Jun 2011 14:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://glenbot/?p=7#comment-420</guid>
		<description>Good catch. I&#039;ll update it. Thanks!</description>
		<content:encoded><![CDATA[<p>Good catch. I&#8217;ll update it. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating a custom Http403 exception in Django by ebaum</title>
		<link>http://theglenbot.com/creating-a-custom-http403-exception-in-django/#comment-369</link>
		<dc:creator>ebaum</dc:creator>
		<pubDate>Thu, 19 May 2011 17:36:54 +0000</pubDate>
		<guid isPermaLink="false">http://glenbot/?p=7#comment-369</guid>
		<description>Thanks for this.

Minor note: you need a couple additional imports to get the middleware code to actually work. The following works for me.

from django.template import RequestContext, loader
from django.conf import settings
from django.core.exceptions import PermissionDenied  
from django.http import HttpResponseForbidden

Cheers.</description>
		<content:encoded><![CDATA[<p>Thanks for this.</p>
<p>Minor note: you need a couple additional imports to get the middleware code to actually work. The following works for me.</p>
<p>from django.template import RequestContext, loader<br />
from django.conf import settings<br />
from django.core.exceptions import PermissionDenied<br />
from django.http import HttpResponseForbidden</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSH to AWS using Fabric (python) by Jordan</title>
		<link>http://theglenbot.com/ssh-to-aws-using-fabric-python/#comment-362</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Fri, 01 Apr 2011 15:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://theglenbot.com/?p=153#comment-362</guid>
		<description>Exactly what I was looking for. Thanks!</description>
		<content:encoded><![CDATA[<p>Exactly what I was looking for. Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

