<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Cool stuff from Django, Python and Internet world.</description><title>I can has Django</title><generator>Tumblr (3.0; @djangoninja)</generator><link>http://djangoninja.com/</link><item><title>compiling .po messages from Django</title><description>&lt;p&gt;Note to myself: to recompile .po messages from a running Django site, the management command can be called:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; 
from django.core.management import call_command 
call_command("compilemessages") 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to enable that, set &lt;code&gt;LOCALE_PATH&lt;/code&gt; in your settings pointing to directory containing locales, e.g.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import os
SITE_ROOT = os.path.dirname(os.path.abspath(__file__)) 
LOCALE_PATHS = (     
    os.path.join(SITE_ROOT, 'locale')
)&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;or you will see&lt;/p&gt;
&lt;blockquote&gt;Error: This script should be run from the Django SVN tree or your project or app tree, or with the settings module specified.&lt;/blockquote&gt;
&lt;p&gt;error message in your server logs.&lt;/p&gt;</description><link>http://djangoninja.com/post/402304098</link><guid>http://djangoninja.com/post/402304098</guid><pubDate>Sun, 21 Feb 2010 09:36:34 +0100</pubDate><category>django</category><category>notes-to-myself</category></item><item><title>A robot telescope built with LEGOs, NXT parts, lots of rubber bands and Python.</title><description>&lt;a href="http://substack.net/posts/87bfa7/Robot-Telescope"&gt;A robot telescope built with LEGOs, NXT parts, lots of rubber bands and Python.&lt;/a&gt;</description><link>http://djangoninja.com/post/337924740</link><guid>http://djangoninja.com/post/337924740</guid><pubDate>Sat, 16 Jan 2010 22:03:10 +0100</pubDate></item><item><title>Aeracode :: Django-powered Snow</title><description>&lt;a href="http://www.aeracode.org/2009/12/17/django-powered-snow/"&gt;Aeracode :: Django-powered Snow&lt;/a&gt;: &lt;p&gt;Woooow!  There is even a schedule, so you know who are you snowing at :)&lt;/p&gt;
&lt;p&gt;I love it!&lt;/p&gt;</description><link>http://djangoninja.com/post/288849441</link><guid>http://djangoninja.com/post/288849441</guid><pubDate>Fri, 18 Dec 2009 13:06:03 +0100</pubDate><category>snow</category></item><item><title>Entity Crisis: Python + Wiimote + 30  tonnes of Steel</title><description>&lt;a href="http://entitycrisis.blogspot.com/2009/07/python-wiimote-30-tonnes-of-steel.html"&gt;Entity Crisis: Python + Wiimote + 30  tonnes of Steel&lt;/a&gt;: &lt;p&gt;= lots of fun :)&lt;/p&gt;
&lt;p&gt;featuring additionally a touchscreen powered by PyGame&lt;/p&gt;
&lt;p&gt;Cool!!&lt;/p&gt;</description><link>http://djangoninja.com/post/284565777</link><guid>http://djangoninja.com/post/284565777</guid><pubDate>Tue, 15 Dec 2009 12:36:37 +0100</pubDate></item><item><title>Winter School "Advanced Scientific Programming in Python"  </title><description>&lt;a href="http://escher.fuw.edu.pl/pythonschool/"&gt;Winter School "Advanced Scientific Programming in Python"  &lt;/a&gt;: &lt;p&gt;This winter in Poland - free camp for scientists to learn and practice advanced techniques for scientific calculations in Python.&lt;/p&gt;
&lt;p&gt;more: &lt;a href="http://escher.fuw.edu.pl/pythonschool/"&gt;&lt;a href="http://escher.fuw.edu.pl/pythonschool"&gt;http://escher.fuw.edu.pl/pythonschool&lt;/a&gt;&lt;/a&gt;/&lt;/p&gt;</description><link>http://djangoninja.com/post/248310772</link><guid>http://djangoninja.com/post/248310772</guid><pubDate>Wed, 18 Nov 2009 10:58:13 +0100</pubDate></item><item><title>Mozilla Addons plans to move from CakePHP to Django</title><description>&lt;a href="http://micropipes.com/blog/2009/11/17/amo-development-changes-in-2010/"&gt;Mozilla Addons plans to move from CakePHP to Django&lt;/a&gt;: &lt;p&gt;I’ve very curious about their upcoming experience and how Django will suit their environment. Can’t wait to hear their feedback after/during the process.&lt;/p&gt;
&lt;p&gt;more: http://micropipes.com/blog/2009/11/17/amo-development-changes-in-2010/&lt;/p&gt;</description><link>http://djangoninja.com/post/248305924</link><guid>http://djangoninja.com/post/248305924</guid><pubDate>Wed, 18 Nov 2009 10:49:12 +0100</pubDate><category>django</category></item><item><title>Develop in Django+Python, deploy in Java. </title><description>&lt;a href="http://blog.leosoto.com/2009/11/django-jython-100-released.html"&gt;Develop in Django+Python, deploy in Java. &lt;/a&gt;: &lt;blockquote&gt;django-jython includes a “war” management command so you can […] get a single mysite.war file which you can deploy in your preferred application server. &lt;i&gt;This file doesn’t require anything special installed on the target server&lt;/i&gt;. No Django, no Jython, no nothing.&lt;/blockquote&gt;
&lt;p&gt;Do I get it right? I develop using whole smoothness of Python and Pony powers of Django. And then, thanks to Jython and django-jython, I can magically generate a native Java web application for deployment on enterprise web servers? Wooow, I’m impressed. This way both developers and administrators are happy :)&lt;/p&gt;
&lt;p&gt;More about &lt;a href="http://files.leosoto.com/dojdocs/html/index.html"&gt;django-jython&lt;/a&gt;. Currently already works with &lt;a href="http://blog.leosoto.com/2009/11/django-jython-100-released.html"&gt;Django 1.0.x and several database backends&lt;/a&gt;. And more updates coming soon. Cool!&lt;/p&gt;</description><link>http://djangoninja.com/post/238292335</link><guid>http://djangoninja.com/post/238292335</guid><pubDate>Mon, 09 Nov 2009 20:05:20 +0100</pubDate><category>django</category><category>java</category><category>jython</category></item><item><title>Facebook Developers | Facebook Developers News</title><description>&lt;a href="http://developers.facebook.com/news.php?blog=1&amp;story=301"&gt;Facebook Developers | Facebook Developers News&lt;/a&gt;: &lt;p&gt;Tornado - blazingly fast Python based web framework/server, powering Facebook news feed and FriendFeed&lt;/p&gt;
&lt;p&gt;more: &lt;a href="http://developers.facebook.com/news.php?blog=1&amp;story=301"&gt;&lt;a href="http://developers.facebook.com/news.php?blog=1&amp;story=301"&gt;http://developers.facebook.com/news.php?blog=1&amp;story=301&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://djangoninja.com/post/184654216</link><guid>http://djangoninja.com/post/184654216</guid><pubDate>Thu, 10 Sep 2009 20:11:54 +0200</pubDate></item><item><title>Two new books about Django were published this month (in Polish)</title><description>&lt;a href="http://www.python.org.pl/django,na,helionie.html"&gt;Two new books about Django were published this month (in Polish)&lt;/a&gt;: &lt;p&gt;Two new books have arrived to polish bookstores in August:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://helion.pl/ksiazki/cwdjan.htm"&gt;“Django. Ćwiczenia praktyczne”&lt;/a&gt; by Piotr Maliński&lt;/p&gt;
&lt;p&gt;&lt;a href="http://helion.pl/ksiazki/pydjan.htm"&gt;“Python i Django. Programowanie aplikacji webowych”&lt;/a&gt; (translation of &lt;a target="_blank" href="http://www.amazon.com/exec/obidos/ASIN/0132356139/helion-20"&gt;Python Web Development with Django (Developer’s Library)&lt;/a&gt; by Krzysztof Rychlicki-Kicior)&lt;/p&gt;
&lt;p&gt;read more (in Polish) on &lt;a href="http://www.python.org.pl/django,na,helionie.html"&gt;python.org.pl&lt;/a&gt;&lt;/p&gt;</description><link>http://djangoninja.com/post/163443448</link><guid>http://djangoninja.com/post/163443448</guid><pubDate>Sat, 15 Aug 2009 11:44:00 +0200</pubDate><category>django</category></item><item><title>Django helped FTW a Pulitcer Prize</title><description>&lt;p&gt;Matt Waite was not a web developer even 18 months ago. He learnt Django by making his first in lifetime website - &lt;a href="http://www.politifact.com/truth-o-meter/"&gt;Politifact&lt;/a&gt;. He &lt;a title="Matt Waite announces PolitiFact on Django" href="http://www.mattwaite.com/posts/2007/aug/22/announcing-politifact/"&gt;describes this experience&lt;/a&gt; as challenging and inspiring to start new projects.&lt;/p&gt;
&lt;p&gt;Don’t believe that your first Django application will be crap. Matt and the Politicfact have &lt;a href="http://www.pulitzer.org/citation/2009-National-Reporting"&gt;just been awarded with the Pulitzer Price&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;So, deadline is approaching, and all you have is idea in your head? Start reading &lt;a href="http://docs.djangoproject.com/en/dev/"&gt;Django documentation&lt;/a&gt; and develop your site.&lt;/p&gt;
&lt;p&gt;Congratulations Matt and St. Petersburg Times Staff!&lt;/p&gt;</description><link>http://djangoninja.com/post/98248771</link><guid>http://djangoninja.com/post/98248771</guid><pubDate>Mon, 20 Apr 2009 22:33:26 +0200</pubDate><category>django</category></item><item><title>Six Django projects accepted in Google Summer of Code</title><description>&lt;p&gt;nice improvements, coming this summer :)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://socghop.appspot.com/org/home/google/gsoc2009/django"&gt;Google Summer of Code - Django Home Page &lt;/a&gt;&lt;/p&gt;</description><link>http://djangoninja.com/post/98243637</link><guid>http://djangoninja.com/post/98243637</guid><pubDate>Mon, 20 Apr 2009 22:16:12 +0200</pubDate><category>django</category></item><item><title>Django makes you safe even if MySQL disappear</title><description>&lt;p&gt;Oracle announced today aquisition of Sun - “owner” and developer of MySQL database. Surely Oracle will not kill the MySQL instantly. Yet, I doubt that they will put much effort to develop MySQL’s enterprise support or advanced features like sharding or replication. I assume they will keep it in company’s portfolio as “low end” database for websites. Which is not so bad for MySQL itself, as it’s what it has been through most of past years and it’s most common usage even now. Yet, if your needs grow, you will be invited to upgrade to Oracle.&lt;/p&gt;
&lt;p&gt;Of course MySQL is open source, have huge community and supporting applications and shops. And huge deployments. Like PHP, it will not disappear. Ever. It may be forked and developed by the community or a new company living from commercial support. The future is more or less positive.&lt;/p&gt;
&lt;p&gt;Fortunately we are not left alone. With recent progress in PostgreSQL development, it can compete with both MySQL’s speed and Oracle’s power features (to some extent of course). And it is to receive some significant boost in users group soon. The more users, the more progress and support, you know, the market thingy.&lt;/p&gt;
&lt;p&gt;Another question is whether PostgreSQL  will cope with sudden migration of ex-MySQL users. Will it be ready with documentation and support to provide easy converting process. Easy-start enough to become mainstream? My controversial reference is, that such a great language as Python needed easy-to-start and incredibly fun-to-use Django, to start converting PHPers. Although many great projects tried before with less success (Zope/Plone, Zope3/Grok, TurboGears, Pylons).&lt;/p&gt;
&lt;p&gt;What does make me sit comfortably in my chair and sip my tea with smile? That’s, thanks to Django, most of my applications are not DB-solution dependent (in few I have some bare SQL or DB dependent triggers/functions etc). I develop them on SQLite and they run smoothly on it in the early days. When I need more, PostgreSQL (or MySQL) is just few commands away, all database structure, content migration and application logic. Easy switch. No rewriting. No pain.&lt;/p&gt;
&lt;p&gt;Anyway, life keeps surprising and being interesting :)&lt;/p&gt;</description><link>http://djangoninja.com/post/98240225</link><guid>http://djangoninja.com/post/98240225</guid><pubDate>Mon, 20 Apr 2009 22:05:00 +0200</pubDate><category>django</category></item><item><title>Django as an example of higher abstraction product of Python</title><description>&lt;p&gt;Two engineers talk about higher level abstractions, showing more market fields where Python can do some progress. They cover Django as good example of higher abstraction product of Python.&lt;/p&gt;
&lt;p&gt;visit: &lt;a href="http://www.awaretek.com/python/"&gt;Python441 Podcast: Abstraction&lt;/a&gt; (the sound is far from perfect during first several minutes, but it gets later)&lt;/p&gt;
&lt;p&gt;or click &lt;a title="Python411 Podcast: Abstraction" href="http://media.libsyn.com/media/awaretek/Python411_20090412_abstraction.mp3"&gt;direct link to mp3 file&lt;/a&gt;&lt;/p&gt;</description><link>http://djangoninja.com/post/97874104</link><guid>http://djangoninja.com/post/97874104</guid><pubDate>Sun, 19 Apr 2009 21:30:00 +0200</pubDate><category>django</category></item><item><title>Django in Faceoff Show Podcast</title><description>&lt;a href="http://faceoffshow.com/2009/04/14/episode-12-s3-flex-django/"&gt;Django in Faceoff Show Podcast&lt;/a&gt;: &lt;p&gt;another e-media covering Django framework&lt;/p&gt;</description><link>http://djangoninja.com/post/96548797</link><guid>http://djangoninja.com/post/96548797</guid><pubDate>Wed, 15 Apr 2009 21:06:55 +0200</pubDate><category>django</category></item><item><title>How to tweet with dirty hands, with Django powered administration</title><description>&lt;p&gt;Want to announce on Twitter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;new portion of hot cookies just out of the oven, &lt;/li&gt;
&lt;li&gt;happy hour in a pub,&lt;/li&gt;
&lt;li&gt;lunch break in the factory,&lt;/li&gt;
&lt;li&gt;security status in the power plant/laboratory,&lt;/li&gt;
&lt;li&gt;change of the DEFCON level?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://bakertweet.com/"&gt;Baker Tweet&lt;/a&gt; is a device enabling you to send tweets from places where it’s too dirty or dangerous for a PC. Or when your hands are too dirty for iPhone :)&lt;/p&gt;
&lt;p&gt;Easy configuration powered by &lt;a href="http://djangoproject.com"&gt;Django framework&lt;/a&gt; :)&lt;/p&gt;</description><link>http://djangoninja.com/post/94824218</link><guid>http://djangoninja.com/post/94824218</guid><pubDate>Fri, 10 Apr 2009 13:54:00 +0200</pubDate><category>django</category></item><item><title>Seems that Netbeans for Django is becoming really usable</title><description>&lt;p&gt;A HTML coder can write websites in Notepad and feel great with it. Until he finds out about syntax-hilighting, tag-completion or snippets.&lt;/p&gt;
&lt;p&gt;I see coding in Python similarly. Vim and TextMate + their plugins are great and they speed you up a lot. Yet, when you start using IDE with python path aware code completion, class browser, syntax checking, doc tooltips, unused variable names noticing, refactoring and all that code intelligence that can be there, well my friend - this is addictably comfortable.&lt;/p&gt;
&lt;p&gt;Netbeans people managed impossible - made Java coding bearable, almost pleasant. So they know a lot about helping programmers. And since there are Python/Jython people working in Sun now, this joint can bring really powerful tool for Python and Django. &lt;a href="http://kubasik.net/blog/2009/03/12/finally-a-django-ide-with-real-code-completion-and-template-support/"&gt;Kevin Kubasik is very positive about it&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I’ll need to have a closer look at Netbeans after I finish with my current project. Hope it looks nicer on Mac that the screenshots from their website show ;)&lt;/p&gt;
&lt;p&gt;PS 1. Yes I know that &lt;a href="http://xkcd.com/378/"&gt;real programmers use butterflies &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PS 2. I know about Emacs and it’s omnipotence. It’s just not the tool for me.&lt;/p&gt;</description><link>http://djangoninja.com/post/94471522</link><guid>http://djangoninja.com/post/94471522</guid><pubDate>Thu, 09 Apr 2009 11:46:00 +0200</pubDate><category>django</category><category>jython</category><category>netbeans</category></item><item><title>Artificial Code: Short-Circuiting Python Module Lookup Gets 2066% Performance Improvement</title><description>&lt;a href="http://artificialcode.blogspot.com/2009/04/short-circuiting-python-module-lookup.html"&gt;Artificial Code: Short-Circuiting Python Module Lookup Gets 2066% Performance Improvement&lt;/a&gt;: &lt;p&gt;Looking for a start-up speed improvement in your Python application? You may gain a lot by cropping it’s environment to only what it needs. (read comments too)&lt;/p&gt;</description><link>http://djangoninja.com/post/94462640</link><guid>http://djangoninja.com/post/94462640</guid><pubDate>Thu, 09 Apr 2009 10:47:54 +0200</pubDate><category>python</category></item><item><title>Portable Python - yet another way to try Django on Windows</title><description>&lt;a href="http://www.portablepython.com/"&gt;Portable Python - yet another way to try Django on Windows&lt;/a&gt;: &lt;p&gt;Portable Python is standalone, portable Python distribution designed for Windows. It has Django onboard, so you can just plug an USB drive and run your Django application. Currently in beta, stay in touch :)&lt;/p&gt;</description><link>http://djangoninja.com/post/94130615</link><guid>http://djangoninja.com/post/94130615</guid><pubDate>Wed, 08 Apr 2009 13:04:37 +0200</pubDate><category>django</category></item><item><title>Google will speed up Python, very very much :)</title><description>&lt;a href="http://arstechnica.com/open-source/news/2009/03/google-launches-project-to-boost-python-performance-by-5x.ars"&gt;Google will speed up Python, very very much :)&lt;/a&gt;</description><link>http://djangoninja.com/post/92673068</link><guid>http://djangoninja.com/post/92673068</guid><pubDate>Fri, 03 Apr 2009 22:46:26 +0200</pubDate><category>python</category></item><item><title>The Python Challenge</title><description>&lt;a href="http://www.pythonchallenge.com/"&gt;The Python Challenge&lt;/a&gt;: &lt;p&gt;33 levels to test your python and ninja skills :)&lt;/p&gt;</description><link>http://djangoninja.com/post/88328989</link><guid>http://djangoninja.com/post/88328989</guid><pubDate>Sat, 21 Mar 2009 00:20:31 +0100</pubDate><category>python</category></item></channel></rss>
