I can has Django

Feb 21

compiling .po messages from Django

Note to myself: to recompile .po messages from a running Django site, the management command can be called:

 
from django.core.management import call_command 
call_command("compilemessages") 

to enable that, set LOCALE_PATH in your settings pointing to directory containing locales, e.g.

import os
SITE_ROOT = os.path.dirname(os.path.abspath(__file__)) 
LOCALE_PATHS = (     
    os.path.join(SITE_ROOT, 'locale')
)

or you will see

Error: This script should be run from the Django SVN tree or your project or app tree, or with the settings module specified.

error message in your server logs.

Jan 16

A robot telescope built with LEGOs, NXT parts, lots of rubber bands and Python.

Dec 18

Aeracode :: Django-powered Snow -

Woooow!  There is even a schedule, so you know who are you snowing at :)

I love it!

Dec 15

Entity Crisis: Python + Wiimote + 30 tonnes of Steel -

= lots of fun :)

featuring additionally a touchscreen powered by PyGame

Cool!!

Nov 18

Winter School "Advanced Scientific Programming in Python" -

This winter in Poland - free camp for scientists to learn and practice advanced techniques for scientific calculations in Python.

more: http://escher.fuw.edu.pl/pythonschool/

Mozilla Addons plans to move from CakePHP to Django -

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.

more: http://micropipes.com/blog/2009/11/17/amo-development-changes-in-2010/

Nov 09

Develop in Django+Python, deploy in Java. -

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. This file doesn’t require anything special installed on the target server. No Django, no Jython, no nothing.

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 :)

More about django-jython. Currently already works with Django 1.0.x and several database backends. And more updates coming soon. Cool!

Sep 10

Facebook Developers | Facebook Developers News -

Tornado - blazingly fast Python based web framework/server, powering Facebook news feed and FriendFeed

more: http://developers.facebook.com/news.php?blog=1&story=301

Aug 15

Two new books about Django were published this month (in Polish) -

Two new books have arrived to polish bookstores in August:

“Django. Ćwiczenia praktyczne” by Piotr Maliński

“Python i Django. Programowanie aplikacji webowych” (translation of Python Web Development with Django (Developer’s Library) by Krzysztof Rychlicki-Kicior)

read more (in Polish) on python.org.pl

Apr 20

Django helped FTW a Pulitcer Prize

Matt Waite was not a web developer even 18 months ago. He learnt Django by making his first in lifetime website - Politifact. He describes this experience as challenging and inspiring to start new projects.

Don’t believe that your first Django application will be crap. Matt and the Politicfact have just been awarded with the Pulitzer Price!

So, deadline is approaching, and all you have is idea in your head? Start reading Django documentation and develop your site.

Congratulations Matt and St. Petersburg Times Staff!