Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Some django gotchas
These are some django details I've found while working on my django demonstration site, things that are useful for making ... -
Some django gotchas
These are some django details I've found while working on my django demonstration site, things that are useful for making ... -
A complete waste of time
Inspired by Online News Squared, and with my sincerest apologies to Adrian, I give you chicagomime.user.js (requires Firefox and Greasemonkey). -
A very useful patch to django
The photo gallery application I'm working with allows you to upload batches of photographs as zip files, to populate a ... -
A very useful patch to django
The photo gallery application I'm working with allows you to upload batches of photographs as zip files, to populate a ... -
Django meetup in Palo Alto
Update Ack – I mistyped the date on this page! The meetup will be Thursday, April 27th (not Wednesday as this originally said). Hopefully that still works for anyone planning to come… Later this month, I’m speaking at the MySQL Users Conference in Santa Clara, and I’ll be in town the whole week. I suspect there’s a good number of Django users living in the Bay Area (ha), and I’d like to meet as many of them as I can. -
JTAG
By popular demands I am publishing pictures of my JTAG, which I made to revive a wireless router some time ago. Just click on the picture below to see it in all ghetto-style glory with some explanations of my "design decisions". You can see that it is very basic. It was made in ~3 minutes and costs ~$6 (the most expensive part was the cable — $3.99). It was assembled according to this diagram . You can find a full description of details here . -
What programmers do
Let me give you one more definition of what computer programmers do: they design, build, and maintain complex systems . In many cases computer programs are more complex than “Hello, world!” examples. Way more complex. I am talking about the systems that have more branching possibilities than atoms in the universe. that cannot be verified using any formal methods in any practical timeframe. that cannot be tested with 100% code coverage in our lifetime. that cannot be completely understood in all details by their creators. that can handle real life requirements. So what? -
Merquery
Brian Beck just announced that he’s beginning work on Merquery, a full-text indexer and search engine specifically designed for developers using RAD frameworks like Django. I’m so excited about this I can barely contain myself. Right now Ellington ships with a search engine built on top of Swish-E. It’s pretty cool, and I’ve been debating cleaning it up and rolling it into django.contrib. However it has a number of major flaws that limit its usefulness: -
Quiet Enjoyment
I just found this reading through the Amazon Web Services license: EXCEPT TO THE EXTENT PROHIBITED BY APPLICABLE LAW, AMAZON DISCLAIMS ALL WARRANTIES, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, QUIET ENJOYMENT, AND ANY IMPLIED WARRANTIES ARISING OUT OF ANY COURSE OF DEALING OR USAGE OF TRADE. (emphasis mine). -
Free server? Probably not
As the saying goes, if it sounds too good to be true, it probably is. A few weeks ago I applied for Sun’s Niagra try-before-you-buy program hoping to get a chance to benchmark how a Django stack behaves on one of those bad boys. Unfortunatly, it appears the hype is better than the follow-through. I applied as an individual, and after about two weeks got a call from a guy at Sun wanting a credit card to pre-authorize for the entire value of the server. -
Love/Hate
Every day that I spend messing with python and django, I learn something new or find simpler ways of doing things than I've done them in the past. Tonight I've been experimenting with Django's templating language. I've been building my tag libraries to augment the django's general purpose templating language and data filters for a while now, but today I started really poking around its eqivalent of ObjectGraphNotationLanguage. The stuff I'm doing is really going to change the way we build stuff at work. At the same time, there are a lot of nasty annoyances/bugs/oversights that are hard to believe. Still, for development it kicks Java J2EE ass any day. I joke at work that django either rocks or sucks depending on whether it is an odd or even hour. It's almost 4 am now, so I guess I should turn in while it still rocks. Post to Del.icio.us -
GPL violation: Sveasoft
OpenWrt has officially terminated Sveasoft’s license citing blatant violation of the GPL. For more details go to OpenWrt’s forum: Unbelievable . It’s getting quite hilarious. For example you can “learn” that the GPL is derived directly from “the economic and political theories of Karl Marx ”. In general it is so sad to see such abuses. It is not hard to comply with the license. If you don’t like it, don’t use the GPL’d software in your product. It is as simple as that. -
Finalizing PyCon 2006 pictures
I found some time to finalize my pictures and notes on PyCon 2006. I tried my best to identify people in my pictures. Now you can see their names and links to their blogs. I added links to official descriptions of their talks, as well as to excellent detailed notes of some talks by Steve Holden. I advise to visit his blog, because he has notes on some talks I didn't attend.If you want to relive your PyCon 2006 memories (or implant new ones), you can do it here. While you can find blog addresses in pictures, I updated my master blog roll as well.I want to thank Andrew Kuchling, Steve Holden, Django team (Adrian Holovaty, Simon Willison, Jacob Kaplan-Moss, Matt Croydon), Ian Bicking, and all participants for the great time I had at PyCon. And now for some pictures I like: -
Finalizing PyCon 2006 pictures
I found some time to finalize my pictures and notes on PyCon 2006. I tried my best to identify people in my pictures. Now you can see their names and links to their blogs. I added links to official descriptions of their talks, as well as to excellent detailed notes of some talks by Steve Holden . I advise to visit his blog, because he has notes on some talks I didn’t attend. -
Renaming Climate Change
Seth Godin points out that what we should be talking about isn't climate change, it's 'Atmosphere Cancer' or something equally serious sounding. While I don't want to sound flippant about seriousness of this he may have a point. After all, the Great Bear Rain Forest used to be called the North East Timber Supply. Changing it's name was a key part of saving it. -
Renaming Climate Change
Seth Godin points out that what we should be talking about isn't climate change, it's 'Atmosphere Cancer' or something equally serious sounding. While I don't want to sound flippant about seriousness of this he may have a point. After all, the Great Bear Rain Forest used to be called the North East Timber Supply. Changing it's name was a key part of saving it. -
Free servers?
So Sun’s giving away T2000 servers for free. Well sort of, anyway: you get to try ‘em for 60 days, and according to Jonathan Schwartz if you post benchmarks of the thing’s performance, the sales department “might” let you keep the thing. Sounds too good to be true, eh? Well, I’m certainly not going to pass up the chance to fiddle with an quad-core, $8,000 server for a few months, so I filled out the form. -
Django stuff at Pycon
For anyone looking for the Django stuff I showed off at PyCon: Slides from my presentation (PDF version [9 MB]) The Sudoku app I demonstrated Source to the Sudoku app -
Django Gets Transactions
Jacob Kaplan-Moss added transaction support to the magic-removal branch of Django just a few minutes ago. It’s one of the many changes to come out of the sprint. Usage will look something like this (based on Jacob’s docs and chatting with him in #django-sprint):   from django.db import transaction   @transaction.commit_manually def view(request): # you [...] -
Versioning: The Next Big Thing
In the web development world, anyways. So, in the grand scheme of things, maybe not a huge deal to anyone else. Versioning is going to be one of the biggest problems and opportunities there is in web development, and it's going to take us at least five years to get it right. -
Form validators that always get tested
I needed to make a form that had two inputs, and wanted to require that one or both fields be filled in. While poking around in django.core.formfields, I noticed the following check: if field.is_required or new_data.get(field.field_name, False) or hasattr(validator, 'always_test'): Ah ha! What is this always_test I see here? The devs must have already thought [...] -
More PyCon 2006 pictures
I added more pictures from PyCon 2006. Enjoy. Now time for a blog roll of my photo models (far from complete):Adrian Holovaty http://www.holovaty.com/ Simon Willison http://simon.incutio.com/ Jacob Kaplan-Moss http://www.jacobian.org/ Matt Croydon http://www.postneo.com/ Derek Willis http://thescoop.org/ Ian Bicking http://blog.ianbicking.org/ Bob Ippolito http://bob.pythonmac.org/ Guido van Rossum http://www.artima.com/weblogs/index.jsp?blogger=guido Ian Maurer http://itmaurer.com/blog/ Andrew Kuchling http://www.amk.ca/diary/ Jeremy Dunck http://dunck.us/anabasis/ David Ascher http://ascher.ca/blog/ Jeremy Hylton http://www.python.org/~jeremy/weblog/ Jim Hugunin http://blogs.msdn.com/hugunin/ Phillip L. Eby http://dirtsimple.org/ Mark Ramm http://www.compoundthinking.com/blog/ Steve Holden http://holdenweb.blogspot.com/ Bram Cohen http://bramcohen.livejournal.com/ Kevin Dangoor http://www.blueskyonmars.com/ I know I missed some blogs, please let me know your blog address, and I will add it. -
Leaving MT
After all this time with MT, I've decided to go my own way. If you've ever come to the same decision, then you know that MT's export is a pretty lame format that doesn't include all of the information you might need if you migrating to another system. The solution I've come to is to create a MT template that exposes everything as a single xml document. Here's what I'm using so far: <$MTBlogID$> <$MTBlogName$> <$MTBlogURL$> <$MTBlogArchiveURL$> <$MTBlogRelativeURL$> <$MTBlogSitePath$> <$MTBlogHost$> <$MTBlogTimezone$> <$MTBlogEntryCount$> <$MTBlogCommentCount$> <$MTBlogCCLicenseURL$> <$MTEntryID$> <$MTBlogID$> <$MTEntryTitle$> <$MTEntryStatus$> <$MTEntryLink$> <$MTEntryPermaLink$> <$MTEntryKeywords$> <$MTEntryAuthor$> <$MTEntryAutherNickname$> <$MTEntryAutherEmail$> <$MTEntryAuthorURL$> <$MTEntryAuthorLink$> <$MTEntryDate$> <$MTEntryModifiedDate$> <$MTEntryCommentCount$> <$MTEntryTrackbackCount$> <$MTEntryTrackbackData$> <$MTEntryTrackbackLink$> <$MTEntryTrackbackID$> <$MTCategoryID$> <$MTCommentID$> <$MTCommentEntryID$> <$MTCommentIP$> <$MTCommentEmail$> <$MTCommentURL$> <$MTCommentDate$> <$MTCommentOrderNumber$> <$MTCategoryID$> <$MTCategoryArchiveLink$> <$MTCategoryCount$> <$MTCategoryTrackbackLink$> Post to Del.icio.us -
More PyCon 2006 pictures
I added more pictures from PyCon 2006 . Enjoy. Now time for a blog roll of my photo models (far from complete): Person Blog Adrian Holovaty http://www.holovaty.com/ Simon Willison http://simon.incutio.com/ Jacob Kaplan-Moss http://www.jacobian.org/ Matt Croydon http://www.postneo.com/ Derek Willis http://thescoop.org/ Ian Bicking http://blog.ianbicking.org/ Bob Ippolito http://bob.pythonmac.org/ Guido van Rossum http://www.artima.com/weblogs/index.jsp?blogger=guido Ian Maurer http://itmaurer.com/blog/ Andrew Kuchling http://www.amk.ca/diary/ Jeremy Dunck http://dunck.us/anabasis/ David Ascher http://ascher.ca/blog/ Jeremy Hylton http://www.python.org/~jeremy/weblog/ Jim Hugunin http://blogs.msdn.com/hugunin/ Phillip L. Eby http://dirtsimple.org/ Mark Ramm http://www.compoundthinking.com/blog/ Steve Holden http://holdenweb.blogspot.com/ Bram Cohen http://bramcohen.livejournal.com/ Kevin Dangoor http://www.blueskyonmars.com/ I know I missed some blogs, please let me know your blog address, and I will add it.