Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
django-meio-easytags 0.3 released!
I released today the version 0.3 of django-meio-easytags. Now it supports template tags that accepts positional arguments (*args) and keyword arguments (**kwargs). If you don’t know how to use this, take a look at Python FAQ. In this release I included some documentation and created a page for the project. Any doubts, suggestions, feature requests, feel [...] -
Documenting Django pluggable apps with Sphinx
I decided to document my Django projects with the same tool used by Django team: Sphinx. It is a very good documenting tool, and was used for many other projects, including the Python Project itself. But it has a simple problem with Django, that I found the solution rlazo’s blog. But it still has some problems, [...] -
django-meio-easytags released!
django-meio-easytags An easy way to create and parse custom template tags for Django's templating system. -
Django ORM now supports fields references in filters
Today was added a new feature to django ORM. Now it supports references to fields in filters expressions. Just checkout the SVN version and enjoy it. Before this update, queryset could be filtered only by absolute values. queryset.filter(field='absolute value') Will generate somthing like this: SELECT * FROM table_name WHERE field = 'absolute value'; Now you can filter by another’s table [...] -
get_first_object_or_none shortcut for Django
I will talk about a shortcut I developed for the Django framework and always use in my apps. This code is aimed in making a quik shortcut to obtain the first object of a queryset if it exists or None otherwise. It’s very useful when you want to display the last news in the first page [...] -
Arquivos do Mini curso de Django disponibilizados
No dia 24 de abril de 2009, no SENAC em Natal/RN, ocorreu o FLISOL. Neste evento, eu ministrei um mini curso de django. Então estou disponibilizando tanto os arquivos_mini_curso desenvolvido durante o curso, como os slides. Mini curso introdutório ao DjangoView more presentations from vbmendes. -
Festival Latino-americano de Instalação de Software Livre
Venho através deste convidá-los ao FLISOL/RN 2009. O Festival Latino-americano de Instalação de Software Livre do RN irá acontecer no dia 25 de abril de 2009 no SENAC em Natal. No evento eu irei ministrar um mini-curso introdutório ao framework Django das 14:00 as 17:00 horas, cujo objetivo é formar pessoas com conhecimentos básicos acerca do [...] -
Reffering to Django docs from your docs using Sphinx
Sphinx is a great documentation tool, and one of it’s built-in extensions is sphinx.ext.intersphinx. It simply takes your objects references for other projects and converts to links in the other project’s documentation. In sphinx-quickstart command, it asks if you want to add this extension. If so, It adds this code to your conf.py file: extensions = ['sphinx.ext.intersphinx'] intersphinx_mapping [...] -
MEDIA_URL and context from processors available in HTTP 500 template
It’s easy to create a custom template for HTTP 500 errors. All you have to do is create a file named 500.html in any of the application’s TEMPLATE_DIRS. But in almost all cases you want to use media in this page. It’s good to have an error page with the same look and feel of [...] -
Django Production Error Handler
I am working on an application that, besides providing a dynamic website, also talks to an iPhone application. What happens when the iPhone, or a web visitor, triggered a bug in the application? Django actually provide a nice mechanism to report error in its “batteries included” goodness. You can easily setup the Django environment so [...] -
Jacob Kaplan-Moss on DevOps
Jacob gave a talk at the Boston Django Meetup this month on the topic of DevOps — The role of the developer and the role of sysadmin are merging, and it is a good thing. This idea certainly resonate with me. I started my career as a DevOps by necessity — I worked with a [...] -
Django CSRF Migration
Like many of you, I am migrating all my Django sites to Django 1.2.1. For sites that are currently in production, I am doing the slow migration route. Just trying to get the site up with 1.2 without using any of the new features yet. One thing that I ran into is the new CSRF [...] -
My Accidental Connection with Senator Ted Kennedy
Being Chinese in Boston, I always hear positive stories about the late Senator Ted Kennedy helping immigrants. In addition, I agree with most of his political views, he seemed like a good Senator. After learning of his death, I felt we had lost a great man. I added one of his biographies to my Amazon [...] -
Fix Python source code to use spaces instead of tabs
What if someone gave you a Python source file that is indented using tabs? If you are using emacs, the following will let you convert it back to using spaces: # first set the buffer tab width to 4 (or whatever you like) M-x set-variable <return> tab-width <return> 4 # then mark the entire file [...] -
I am in the NY Times, sorta
Check out the NYTimes article on WilsonDailyPrep. We at Imperial Consulting did the application, using Django and Python. It is a great service and a lot of fun to work on (my own vocab and grammar has gotten better, the Math quizzes are too easy). I am glad it is getting the big time publicity [...] -
Serving favicon in an Django App using Apache
I got a free few minutes to work on my own site here. Since I migrated the site from all static pages to Django served, I still haven’t put back the favicon icon back onto the site. The sites runs under a virtual host in apache2 at WebFaction. This is what you need to put [...] -
Upgrading to Django 1.3?
Should you upgrade to Django 1.3? Upgrade any web framework in your application in general? Try this decision chart here http://www.djangopro.com/2011/03/should-i-upgrade-to-django-1-3/: -
Django South Explained
Posted my tutorial on using Django south, the database migration tool, over at DjangoPro. Check it out! -
dojo.beer(2)
We from uxebu have organized the second dojo.beer and are happy to have won Mayflower to jump in sponsoring the location here in Munich, Germany. On friday the 5th december we will warm up with some dinner and some beer in some place here in Munich. The real thing will ... -
The timeline for dojo meetup Berlin
The plan for May 31st, 2008 is 15:00 meet at Weltzeituhr, as mentioned on upcoming, more info and a pic see here. When you are on Alexanderplatz you should find this clock pretty quickly. 19:00 - 22:00 we will be in Las Olas and afterwards go to some bar, club, whatever we ... -
Web 2.0 workshop: fejlesztőknek fejlesztőktől
November elején jelentette be Bártházi András a közösség előtt, hogy Palócz Istvánnal karöltve januárban szándékoznak megrendezni a Web 2.0 workshop névre keresztelt szakmai konferenciát, amelyen hazai előadók tolmácsolásában ismerkedhet meg a hallgatóság a webkettő technikai oldalával változatos gyakorlati előadásokon keresztül. A rendezvény természetes ellensúlyozója az igen hevesen bírált, mintegy féléve ... -
Installing MySQLdb on Leopard
Thanks to Arne we got it done pretty quickly. -
JavaScript: Sort object by a value
Actually the headline is not really what I want to say :-). But I don't know any better yet. I just want to write down how I solved sorting the following: >>> var maxSpeed = {car:300, bike:60, motorbike:200, airplane:1000, helicopter:400, rocket:8*60*60} This is a list of vehicles with their (approx.) ... -
Just for always and for ever be with me
Idén is, ahogy már tavaly is, noha ezúttal új köntösben, van szerencsém bemutatni az érdeklődő hallgatóságnak a webes technológiák egy éppen aktuális gyöngyszemét. A 2006-os Magyarországi Web Konferencián Django: Python on Rails címmel fogok előadást tartani. 17-én, szombaton 22.00-kor a Love Alliance Soundsystem lép fel a Sarkban. Február 23-án pedig a ... -
(defun webconf () (”Jó volt, szép volt”))
Végetért a 2007-es Magyarországi Web Konferencia. A CEU konferencia központ négy termében párhuzamosan zajló, összesen 24 előadás komoly szakmai anyaggal várta az érdeklődő közönséget – a Java és ASP.NET gyakorlati bemutatókon keresztül az elméletibb síkon mozgó eszmefuttatásokig. Alkalmazásfejlestés Djangóval és GWT-vel címmel tartott előadásomat a teli hasú hallgatóság számára gondolatébresztőnek szántam, ...