February 21, 2010 at 9:36am
#
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.
January 16, 2010 at 10:03pm
#
December 18, 2009 at 1:06pm
#
Woooow! There is even a schedule, so you know who are you snowing at :)
I love it!
December 15, 2009 at 12:36pm
#
= lots of fun :)
featuring additionally a touchscreen powered by PyGame
Cool!!
November 18, 2009 at 10:58am
#
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/
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/
November 9, 2009 at 8:05pm
#
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!
September 10, 2009 at 8:11pm
#
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
August 15, 2009 at 11:44am
#
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
April 20, 2009 at 10:33pm
#
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!
page 1 of 3