One of the first snags I ran into in developing my first serious Django application was trying to set up search fields (search_fields) in the admin view for one of my models. The model was a typical user created item, which had various fields such as name, date, and so on. It also had a [...]
Archive for August, 2009
Global variables in AS3 done correctly.
There are a handful of articles floating around on the net that discuss how to tackle the lack of _root in AS3. The bulk of these articles suggest using a dynamic global class as such:
1
2
3
4
public class Globals
{
public static var values:Object = {}
}
This approach is fine for small projects. It allows [...]
LinuxMint
Finally I’ve come across a less-than-offensive Linux distro. Apparently people are fed up with Ubuntu claiming dominion over Linux despite being the same old shit with a terrible brown interface and are extending it with stuff that human beings might actually like. Such as a usable menu, and wireless support out of the box for [...]
Datetime filter settings in Django templating.
This was one of the first stumbling blocks I hit when I started out with Django. The datetime filter options with the template system are not immediately apparently. They may very well be similar or even identical to the Python versions of the strformat argument, but if you are not familiar to Python or get [...]
I heart Django
I started getting into Django about a month ago before I got sidetracked by other things. But now I am back in the fray and it’s just as lovely as it was before I left it. I bought book written by the Django founders from Amazon, updated for the freshly released Django 1.1. It’s one [...]