<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Brandon Konkle's Blog - Latest Comments</title><link>http://brandonkonkle.disqus.com/</link><description>Web development tips and technology discussion from a Django developer and open-source advocate.</description><atom:link href="https://brandonkonkle.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 13 Jun 2013 04:46:29 -0000</lastBuildDate><item><title>Re: Brandon Konkle</title><link>http://brandonkonkle.com/blog/2010/oct/4/django-admin-customization-examples/#comment-928745734</link><description>&lt;p&gt;duh sae pisan &lt;br&gt;good lah&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robby Nuryanto</dc:creator><pubDate>Thu, 13 Jun 2013 04:46:29 -0000</pubDate></item><item><title>Re: Brandon Konkle</title><link>http://brandonkonkle.com/blog/2010/mar/25/creating-personal-pypi-chishop/#comment-910962592</link><description>&lt;p&gt;Hi, what do you think of having all your Python code packaged in an OS-specific packages (like RPM or DEB) and installed with system-wide package manager like yum or aptitude?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peroksid</dc:creator><pubDate>Tue, 28 May 2013 09:16:54 -0000</pubDate></item><item><title>Re: Brandon Konkle</title><link>http://brandonkonkle.com/blog/2010/oct/29/uwsgi-and-django-secure-requests/#comment-909460057</link><description>&lt;p&gt;I'm the latest victim of this, thank you so much for the fix and giving me my day back.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jon Combe</dc:creator><pubDate>Sun, 26 May 2013 23:04:49 -0000</pubDate></item><item><title>Re: Brandon Konkle</title><link>http://brandonkonkle.com/blog/2010/oct/4/django-admin-customization-examples/#comment-818744189</link><description>&lt;p&gt;Good Stuff !&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Amyth Singh</dc:creator><pubDate>Mon, 04 Mar 2013 05:21:34 -0000</pubDate></item><item><title>Re: Brandon Konkle</title><link>http://brandonkonkle.com/blog/2010/oct/29/uwsgi-and-django-secure-requests/#comment-762708568</link><description>&lt;p&gt;lost about 1 hour with this. I knew it was related to uwsgi_param, but I had no clue that it has to be in the uwsgi_params file. I was trowing it in the site configuration.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wladston</dc:creator><pubDate>Thu, 10 Jan 2013 13:14:27 -0000</pubDate></item><item><title>Re: Brandon Konkle</title><link>http://brandonkonkle.com/blog/2010/oct/29/uwsgi-and-django-secure-requests/#comment-697502094</link><description>&lt;p&gt;Another thank you for this. I did have to make it as far as figuring out that is_secure uses wsgi_scheme before I found this, which took me a while.&lt;/p&gt;&lt;p&gt;In the hopes of making this post show up in more searches, here are some keywords:&lt;br&gt;build_absolute_uri doesn't use https; Django https http; Django is_secure returns False even on https;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ulrichw</dc:creator><pubDate>Wed, 31 Oct 2012 21:55:34 -0000</pubDate></item><item><title>Re: Brandon Konkle</title><link>http://brandonkonkle.com/blog/2010/mar/25/creating-personal-pypi-chishop/#comment-613626222</link><description>&lt;p&gt;Thanks for the useful infos, I was just looking for this kind of solution!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">maurodoglio</dc:creator><pubDate>Wed, 08 Aug 2012 13:42:26 -0000</pubDate></item><item><title>Re: Django Dev, Test, and Prod Environments Revisited</title><link>http://brandonkonkle.com/blog/2009/mar/10/django-dev-test-and-prod-environments-revisited/#comment-552468122</link><description>&lt;p&gt;"Another advantage that I wanted was the ability to make multiple "personal" commits to your local copy of the repository before pushing major changesets to the central repository "&lt;br&gt;Could you eloborate on this point? what are the commands you use for this operation?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tharshan</dc:creator><pubDate>Fri, 08 Jun 2012 20:19:29 -0000</pubDate></item><item><title>Re: DRY Ajax Comments</title><link>http://brandonkonkle.com/blog/2009/oct/24/dry-ajax-comments/#comment-545288716</link><description>&lt;p&gt;really nice :P but took me a while to get it working. I am new to Jquery. well, I would suggest adding an example, this way it will be super easy to integrate this nice piece of code. &lt;/p&gt;&lt;p&gt;I just had to rewrite comments/commment.html and comments/comments.html with right IDs to make it work. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kourosh</dc:creator><pubDate>Fri, 01 Jun 2012 17:05:56 -0000</pubDate></item><item><title>Re: Brandon Konkle | Provisioning a new Ubuntu server for Django</title><link>http://brandonkonkle.com/blog/2010/jun/25/provisioning-new-ubuntu-server-django/#comment-520715688</link><description>&lt;p&gt;Thanks for this post. It's been very useful for me. One note, however, is that if you deploy the code with a folder in the path called /code, as you describe above, and you try to run Django's &lt;a href="http://manage.py" rel="nofollow noopener" target="_blank" title="manage.py"&gt;manage.py&lt;/a&gt; shell, you will get an error due to a conflicting Python library called 'code' that the shell uses. I now keep my deployed code in a /sites/&lt;a href="http://mydomain.com/src" rel="nofollow noopener" target="_blank" title="mydomain.com/src"&gt;mydomain.com/src&lt;/a&gt; directory, and that enables me to use the Django shell in that environment.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jamie Forrest</dc:creator><pubDate>Sat, 05 May 2012 22:31:45 -0000</pubDate></item><item><title>Re: Brandon Konkle</title><link>http://brandonkonkle.com/blog/2010/sep/14/django-uwsgi-and-nginx/#comment-508710475</link><description>&lt;p&gt;A nice tutorial, thank you.&lt;/p&gt;&lt;p&gt;As an aside, and you may have fixed it by now, I would be reluctant to use the if...check in nginx -&amp;gt; it notoriously slows down nginx, especially as you are doing a I/O check and an if statement on every request.   &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Brian</dc:creator><pubDate>Wed, 25 Apr 2012 09:21:23 -0000</pubDate></item><item><title>Re: Brandon Konkle</title><link>http://brandonkonkle.com/blog/2010/oct/20/postgres-9-streaming-replication-and-django-balanc/#comment-495708273</link><description>&lt;p&gt;Unfortunately, I've been away from this too long to remember. I'd suggest looking at the Postgres documentation. It's a little difficult to find what you're looking for sometimes, but there's a wealth of great information there.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brandon Konkle</dc:creator><pubDate>Thu, 12 Apr 2012 15:56:44 -0000</pubDate></item><item><title>Re: Brandon Konkle</title><link>http://brandonkonkle.com/blog/2010/oct/20/postgres-9-streaming-replication-and-django-balanc/#comment-495705132</link><description>&lt;p&gt;What happens when Master goes for a reboot and Hot Standby becomes the new master.  Would the old Master become the new Hot Standby automatically or would it sit and wait for your intervention ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Val Neekman</dc:creator><pubDate>Thu, 12 Apr 2012 15:52:53 -0000</pubDate></item><item><title>Re: Brandon Konkle | Our Git Workflow</title><link>http://brandonkonkle.com/blog/2010/apr/28/our-git-workflow/#comment-495701365</link><description>&lt;p&gt;Sorry. I didn't see that.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jonathan Robson</dc:creator><pubDate>Thu, 12 Apr 2012 15:48:13 -0000</pubDate></item><item><title>Re: Brandon Konkle | Our Git Workflow</title><link>http://brandonkonkle.com/blog/2010/apr/28/our-git-workflow/#comment-495679081</link><description>&lt;p&gt;You're right, squash is better. When I wrote this post, though, I wasn't aware of that option. If you read the italicized note at the top, I suggested using squash instead when I found out about it. :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brandon Konkle</dc:creator><pubDate>Thu, 12 Apr 2012 15:20:13 -0000</pubDate></item><item><title>Re: Brandon Konkle | Our Git Workflow</title><link>http://brandonkonkle.com/blog/2010/apr/28/our-git-workflow/#comment-495666079</link><description>&lt;p&gt;Why not use "git merge --squash"?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jonathan Robson</dc:creator><pubDate>Thu, 12 Apr 2012 15:04:03 -0000</pubDate></item><item><title>Re: Brandon Konkle | Our Git Workflow</title><link>http://brandonkonkle.com/blog/2010/apr/28/our-git-workflow/#comment-493722252</link><description>&lt;p&gt;thank you for this :) we've been looking for something exactly like this, where the master branch isn't cluttered with a large number of commits&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bittersteel</dc:creator><pubDate>Tue, 10 Apr 2012 19:06:27 -0000</pubDate></item><item><title>Re: Brandon Konkle | Provisioning a new Ubuntu server for Django</title><link>http://brandonkonkle.com/blog/2010/jun/25/provisioning-new-ubuntu-server-django/#comment-486233386</link><description>&lt;p&gt;Instead of installing PIL globally and then linking to it from the virtualenv site-packages directory manually, another option is `pip install pillow`.  It's a packaged version compatible with setuptools, etc. &lt;/p&gt;&lt;p&gt;I found it originally via &lt;a href="http://stackoverflow.com/questions/6138848/ubuntu-11-04-installing-pil-into-a-virtualenv-with-pip" rel="nofollow noopener" target="_blank" title="http://stackoverflow.com/questions/6138848/ubuntu-11-04-installing-pil-into-a-virtualenv-with-pip"&gt;http://stackoverflow.com/qu...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jared Sampson</dc:creator><pubDate>Wed, 04 Apr 2012 14:22:59 -0000</pubDate></item><item><title>Re: Brandon Konkle</title><link>http://brandonkonkle.com/blog/2010/mar/25/creating-personal-pypi-chishop/#comment-482920765</link><description>&lt;p&gt;For some reason, I'm getting a 500 Server Error each time I try to upload a package to my pypi. Any ideas how to debug this?&lt;/p&gt;&lt;p&gt;UPDATE: the URL in .pypirc has to have a trailing slash.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Erik Allik</dc:creator><pubDate>Sun, 01 Apr 2012 11:11:18 -0000</pubDate></item><item><title>Re: Brandon Konkle | Automated Webfaction DNS Override Updates</title><link>http://brandonkonkle.com/blog/2008/dec/9/automated-webfaction-dns-override-updates/#comment-480984315</link><description>&lt;p&gt;Very good from Spain..&lt;/p&gt;&lt;p&gt;Many thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luismanolo</dc:creator><pubDate>Fri, 30 Mar 2012 13:31:08 -0000</pubDate></item><item><title>Re: Brandon Konkle | Our Git Workflow</title><link>http://brandonkonkle.com/blog/2010/apr/28/our-git-workflow/#comment-464485664</link><description>&lt;p&gt;I was trying to get a branching model like yours.&lt;br&gt;Thanks for the share!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">shk.schneider</dc:creator><pubDate>Tue, 13 Mar 2012 15:57:25 -0000</pubDate></item><item><title>Re: Brandon Konkle | Dynamically Updating IP Addresses with Update-ip</title><link>http://brandonkonkle.com/blog/2010/may/29/dynamically-updating-ip-addresses-update-ip/#comment-458129515</link><description>&lt;p&gt;Error on install:&lt;/p&gt;&lt;p&gt;urd:~$ pip install update-ipDownloading/unpacking update-ip  Downloading update-ip-0.1.tar.gz  Running &lt;a href="http://setup.py" rel="nofollow noopener" target="_blank" title="setup.py"&gt;setup.py&lt;/a&gt; egg_info for package update-ip    Traceback (most recent call last):      File "&amp;lt;string&amp;gt;", line 14, in &amp;lt;module&amp;gt;      File "/home/reagle/build/update-ip/&lt;a href="http://setup.py" rel="nofollow noopener" target="_blank" title="setup.py"&gt;setup.py&lt;/a&gt;", line 7, in &amp;lt;module&amp;gt;        README = read('README.rst')      File "/home/reagle/build/update-ip/&lt;a href="http://setup.py" rel="nofollow noopener" target="_blank" title="setup.py"&gt;setup.py&lt;/a&gt;", line 5, in read        return open(os.path.join(os.path.dirname(__file__), fname)).read()    IOError: [Errno 2] No such file or directory: '/home/reagle/build/update-ip/README.rst'    Complete output from command python &lt;a href="http://setup.py" rel="nofollow noopener" target="_blank" title="setup.py"&gt;setup.py&lt;/a&gt; egg_info:    Traceback (most recent call last):  File "&amp;lt;string&amp;gt;", line 14, in &amp;lt;module&amp;gt;  File "/home/reagle/build/update-ip/&lt;a href="http://setup.py" rel="nofollow noopener" target="_blank" title="setup.py"&gt;setup.py&lt;/a&gt;", line 7, in &amp;lt;module&amp;gt;    README = read('README.rst')  File "/home/reagle/build/update-ip/&lt;a href="http://setup.py" rel="nofollow noopener" target="_blank" title="setup.py"&gt;setup.py&lt;/a&gt;", line 5, in read    return open(os.path.join(os.path.dirname(__file__), fname)).read()IOError: [Errno 2] No such file or directory: '/home/reagle/build/update-ip/README.rst'&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joseph Reagle</dc:creator><pubDate>Tue, 06 Mar 2012 16:00:33 -0000</pubDate></item><item><title>Re: Brandon Konkle | Provisioning a new Ubuntu server for Django</title><link>http://brandonkonkle.com/blog/2010/jun/25/provisioning-new-ubuntu-server-django/#comment-452377021</link><description>&lt;p&gt;supervisord.log is loggin this Error: &lt;br&gt;Can't find 'code.settings' in your PYTHONPATH.&lt;br&gt;What am I missing?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Balfre</dc:creator><pubDate>Wed, 29 Feb 2012 10:03:40 -0000</pubDate></item><item><title>Re: Brandon Konkle | Provisioning a new Ubuntu server for Django</title><link>http://brandonkonkle.com/blog/2010/jun/25/provisioning-new-ubuntu-server-django/#comment-452200782</link><description>&lt;p&gt;Thanks, great article!  I'm having a issue starting the app, getting the error: &lt;br&gt;ImportError: Could not import settings 'code.settings' (Is it on sys.path?): No module named settings.  Any ideas?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Balfre</dc:creator><pubDate>Wed, 29 Feb 2012 06:20:55 -0000</pubDate></item><item><title>Re: Brandon Konkle | Our Git Workflow</title><link>http://brandonkonkle.com/blog/2010/apr/28/our-git-workflow/#comment-418883205</link><description>&lt;p&gt;Awesome! Thank you&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vitkoz</dc:creator><pubDate>Mon, 23 Jan 2012 14:20:44 -0000</pubDate></item></channel></rss>