Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Dojo gets a manual
Since my last post hit the Dojo folks pretty hard for the lack of documenation, I’d be remiss if I didn’t point out that they now have a manual online. It’s far from complete at this point, but it covers most of the basics and it’s been really enjoyable to read through. I’d certainly say that huzzahs are in order. -
TinyMCE 2.0.1
In case you missed it too: TinyMCE 2.0.1 is out. I am getting a feeling that everybody is trying to roll out something for Xmas. Hmm. Maybe I should do it too. -
Dojo 0.2.1
Dojo 0.2.1 is out. This is a maintenance release, which doesn’t change API but fixes some pesky bugs. Go and get it. -
Django, meet Dojo
After hearing some rave reviews of Dojo on django-dev, I finally got around to checking it out today. Here are my thoughts (with an obvious focus towards) using Dojo with Django). The good Dojo is extremely powerful. With very little code I was able to make a really nice drag-and-drop reorderable table, complete with nice zebra striping and add/remove row buttons. (Wilson and I are working on a new kick-ass interface for Django’s “edit_inline” admin views, if anyone cares. -
New releases
Today I saw new search phrase, which brought visitors to my humble blog: rails 1.0 "Lost connection to MySQL server during query". Yes, you guessed it right! Ruby on Rails 1.0 was released 4 days ago. Scrip.aculo.us 1.5 and Prototype 1.4 were released as well. On 15th Dojo 0.2 was released too. It sports many widgets, improved speed, and new BSD license, which was added to AFL. Now you can use it in GPL projects as well as in commercial applications even, if you don’t understand legalese of AFL. Now there is no excuse for reinventing the wheel . -
DIY and NIH syndromes
Many programmers have DIY attitude. It is understandable: they want to do new exciting stuff themselves. In some cases it is perfectly reasonable: exotic functionality, special requirements, performance enhancements, and so on. Sometimes incorporating 3rd-party library makes overall API inconsistent, which is bad especially for programming tools, or big projects. There is a fine line between DIY and NIH , when DIY part is used without rational explanations. Of course, in some cases NIH is reasonable too, e.g., high price of acquisition of required 3rd-party tools, or intellectual property concerns. -
Have more…
Have more than thou showest, Speak less than thou knowest, Lend less than thou owest, Ride more than thou goest. — King Lear 1.4.71-4 -
Django performance tips
Django handles lots of traffic with ease; Django sites have survived slashdottings, farkings, and more. Here are some notes on how we tweak our servers to get that type of high performance. Use a separate media server Django deliberately doesn’t serve media for you, and it’s designed that way to save you from yourself. If you try to serve media from the same Apache instance that’s serving Django, you’re going to absolutely kill performance. -
Snakes, rubies, and some comments
A week ago I posted a link to David's take on "Snakes and Rubies" event. Of course I am talking about article written by RoR's creator. It is a great read, but this time I've read reader's comments (or "challenges to the Loud Thinking"). Oh, boy! It gives you insight into Rails, Django, and their perception by developers and users. For example, I am not very familiar with i18n problem, but it looks like a lot of people were quite passionate about it. In general it gave me a different prospective on problems of fellow DreamHost customer Alex Payne (outlined here). When I was setting up some of my stuff on DreamHost using Django I had to figure out some things: proper FastCGI setup, .htaccess incantations, and so on. I was kind of envious of RoR's users because "Ruby on Rails now fully supported complete with FastCGI!" (taken from What's New marquee section of DreamHost's main page). I assumed DreamHost had these problems solved. It did. I didn't know at that time that there are some other problems mentioned by Alex. Django is rock solid, I never had problems with stability, memory leaks, and so on. My blog is up … -
Snakes, rubies, and some comments
A week ago I posted a link to David’s take on "Snakes and Rubies" event. Of course I am talking about article written by RoR’s creator. It is a great read, but this time I’ve read reader’s comments (or "challenges to the Loud Thinking"). Oh, boy! It gives you insight into Rails, Django, and their perception by developers and users. For example, I am not very familiar with i18n problem, but it looks like a lot of people were quite passionate about it. -
Django Ajax Redux
Three weeks ago we had a discussion about Ajax support in Django, which resulted in "Ajax and Django" wiki page. A short recap: it lists a vague goal, some general considerations, and possible strategies; it scratches the surface of existing implementations (mostly RoR), existing third-party toolkits (Mochikit/Dojo), and related RPC-style and REST-style services. No code was produced, no consensus was reached, but now it is a part of Django's Version One roadmap. Now three weeks later I assume that everybody had time to think about it. I want to move the whole discussion on to a more practical plane. Basically I want to propose an implementation. At least I’ll collect your thoughts, criticism, corrections, and, hopefully, blessings. Giving the speculative nature of this proposal, which is based solely on my experience, I decided against posting it in the wiki in its present form. The size of this proposal is not conductive to mail list posting. Hence it is here. Saddle up. Rationale I am a conservative pragmatic, who values the art of possible — don’t expect any outrages proposals. And like many programmers I am quite lazy — don’t expect glorious efforts required to implement my proposal. What I want … -
Django Ajax Redux
Three weeks ago we had a discussion about Ajax support in Django, which resulted in "Ajax and Django" wiki page. A short recap: it lists a vague goal, some general considerations, and possible strategies; it scratches the surface of existing implementations (mostly RoR), existing third-party toolkits (Mochikit/Dojo), and related RPC-style and REST-style services. No code was produced, no consensus was reached, but now it is a part of Django’s Version One roadmap . -
Hiring, part II
Want to work for the most innovative news organization in the country, if not the world? Want to join a team of the best and brightest online media developers? Want to get paid to create award-winning web sites? Well, have I got the job for you: World Online is looking for a kick-ass front-end web developer. Update This position has been filled; thanks to everyone who applied. We’re still hiring a back-end web programmer, though. -
We're hiring!
Want to work for the most innovative news organization in the country, if not the world? Want to join a team of the best and brightest online media developers? Want to get paid to create award-winning web sites? Well, have I got the job for you: World Online is looking for a kick-ass web developer to join our team. About the job Unofficially, the job description is “build cool shit.” Our goals are nothing short of being the coolest and most innovative web team in the world. -
What RoR's creator think about Django
David Heinemeier Hansson (the creator of Ruby on Rails) wrote a little piece on Snakes and Rubies event highlighting differences between Ruby on Rails and Django . Very interesting read! -
Lightpd on Ubuntu
Ubuntu “Breezy” doesn’t have lighttpd (yet), and the only Ubuntu binaries I could find were (a) stale and (b) compiled for x86. Building lighty from source with the standard configure; make; make install dance works fine, but it forgoes APT… and why would you use Ubuntu if you wanted to avoid APT? So, here’s how to build lighty from source into a Ubuntu package so it’s all nicely wrapped up and maintained for you. -
Simpler Apache FCGI Django
Inspired by some tips I saw someplace else, and some fiddling on my own, a simpler Django setup on Apache/mod_fcgi: ... -
Simpler Apache FCGI Django
Inspired by some tips I saw someplace else, and some fiddling on my own, a simpler Django setup on Apache/mod_fcgi: ... -
Django alternate auth HOWTO
One of the most frequently-asked questions about Django is "How do I change the authentication system to (hook into my ... -
Django alternate auth HOWTO
One of the most frequently-asked questions about Django is "How do I change the authentication system to (hook into my ... -
What can Django learn from Rails?
One of the questions asked at Snakes & Rubies was about what Django could learn from Rails (and vice versa). Once I finish wrestling Final Cut Pro to the ground you’ll be able to see how Adrian and David answered the question, but in the meantime it got me thinking about some cool features of Rails that are worth ripping off… er… being inspired by: find_or_create convenience methods. -
1st news on Django/Rails bash
Rob Lambert just posted his thoughts on Snakes and Rubies event in Chicago today. I am sure we will have more info later (including promised video) but it is an interesting read anyway. And it is available now. Update: Eric Sinclair posted his notes on the event . -
WebUI refresher
I just released a refresher for OpenWrt WebUI alpha package. It fixes a bug, which was reported by several people. Some users had problems with Net configurator applet, if wl0_country_code was unset in NVRAM. While it is extremely easy to set, I suggest reinstalling webui. Please read the original post on how to do it. Thank you guys for your great feedback! Working together we will make webui even better. -
Different people, different opinions
It is practically impossible to travel to Muslim countries without hearing some anecdotes about Nasreddin Hodja . Here is one (the source ): Hodja was once a judge. One day a man came to his house to complain about his neighbor. Hodja listened carefully and then said to him, — My good man, you are right. The man went away happily. In a little while the first man’s neighbor came to see Hodja. He complained about the first man. Hodja listened carefully to him, too, and then said, -
EN, CZ | No tutorials in czech | české tutoriály smazané
EN (CZ je dole):Improved new admininistration tool of Django has been merged into the main development trunk. That's very nice. SVN Update did not work and unfortunately I deleted accidentaly the czech translation of the tutorial :( CZ:V hlavní vývojové větvy Djanga se objevila nová, přepracovaná forma administračního rozhraní. To je skvělá zpráva. Hlavně tím, že se podle to rozhraní dá znovu použít třeba pro vlastní pohledy.Co je ale špatné, že kvůli tomu jsem omylem smazal překlady úvodního tutorialu. A ať jsem zkoušel nějaké undelete recovery programy, tak nikde nic :(Ach jo.