Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
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, ... -
Web Konferencia 2007.programfüzet.publish()
A Lisp kódok hadát némileg félretéve örömmel jelenthetem be a már korábban meghirdetett Magyarországi Web Konferencia 2007. évi állomását. A minap közzétett programfüzet híven tükrözi a rendezvényen felmutatott a PHP Konferencia-sorozat óta egyre szélesedő technológiák halmazát. Idén az Xdebug eszközt bemutató előadásom mellett az elmaradt Workshop 2.0-ra szánt, a Django ... -
dojo+django = dojango (just released)
Finally we have released dojango. Well, to be honest it's mostly Tobi's work that dojango rocks as it does! Big thanks! So if you are still looking for the right JavaScript toolkit to go with django then you are at the end of your search now. Use dojango! Dojango s a reusable ... -
Szép volt, jó volt
Véget ért a Magyarországi Web Konferencia 2006. Django: Python on Rails c. előadásom fóliái megtekinthetők online. A prezentációhoz kapcsolódó blogmotor forráskódjai letölthetők TAR csomagban. A diasort is mellékeltem. Köszönöm többek között Dohány Tamás *, Farkas Szilveszter * és Őry Máté * elismerő szavait, valamint köszönöm a szervezőknek ezt az újabb kiváló ... -
Customize admin for User model
Before django 1.0 I don't remember that there was a way to customize how the admin renders the User overview. Fortunately 1.0 does allow it. It took me a bit to figure out. After searching the web and the django docs I didn't find it right away, so I tried the ... -
Adobe Air Tour Europe stopped in Munich
Fortunately Tobias found out one day before that Adobe was touring with Air and coming to Munich. Adobe really had provided everything, from breakfast, drinks, lunch too I guess (we weren't there) and beer afterwards (that we didn't miss). It was really impressive. The talks were very Air focused, I ... -
Django/Dojo Stammtisch in Berlin
For the second time Django enthusiasts are meeting in Berlin on Wednesday, the 15th April, 2009 at 19:30. Find all the details here. And since I will be in Berlin this time, I just simply redeclare this to "Django/Dojo Stammtisch" instead of just "Django Stammtisch" :-). I hope all the ... -
Mayflower Barcamp - awesome!
Mayflower had invited me to join their Barcamp last weekend - and it was awesome. Thank you a lot!!! We had been a crowd of about 40 people all hacking all day long until deep at night, it was a great atmosphere and some very interesting projects had been made. ...