Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Using Dot Notation for writing DSLs
""" This is all valid syntax in my shiny new domain specific language, implemented in Python. >>> put("jason").into.element.named("username") >>> put("jason").into.element.labeled("username") >>> put("jason").into.element.identified.by("username") ...or... [...] -
Housekeeping
It seems that this blog has started to attract a bit of comment spam and a lot of trackback spam. I've deleted it all (apologies if any genuine comments have gone by accident), and added authentication requests onto the commenting features using TypeKey. I think I'm just going to have to turn off the trackback feature until I have more time to look into this. If anyone can recommend a good moveable type compatible service for captcha tests that would be great - seems preferable to asking people to get a username / password. -
Housekeeping
It seems that this blog has started to attract a bit of comment spam and a lot of trackback spam. I've deleted it all (apologies if any genuine comments have gone by accident), and added authentication requests onto the commenting features using TypeKey. I think I'm just going to have to turn off the trackback feature until I have more time to look into this. If anyone can recommend a good moveable type compatible service for captcha tests that would be great - seems preferable to asking people to get a username / password. -
Stockphoto 0.1 released
I've decided to release version 0.1 of stockphoto under the GPL. Stockphoto is a simple photo gallery application for django. ... -
Stockphoto 0.1 released
I've decided to release version 0.1 of stockphoto under the GPL. Stockphoto is a simple photo gallery application for django. ... -
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 [...]