Blog Archive for March 26, 2011

Auto-creating Django Profiles

March 26, 2011

My code tries its best to recover if a user doesn't have a user profile, but it was becoming too much of a headache to create every time it didn't exist.

Django provides hooks to allow you to create the profile when it doesn't exist. Add the following code to …

Firefox 4 on Ubuntu 10.10

March 26, 2011

I wanted to install Firefox 4, now it's been released, onto my Ubuntu 10.10 system. This can be done using the following at the command line:

$ sudo apt-add-repository ppa:mozillateam/firefox-stable
$ sudo apt-get update
$ sudo apt-get install firefox

References