Changing default Django project settings
Now that I've been playing about with django and creating lots of new projects I've got fed up with changing some of the default settings, namely TIME_ZONE and LANGUAGE_CODE Here's how to change the default settings for all your new projects. You first need to determine where your site-packages directory has been installed. To find it execute the following command from a shell prompt.
python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
Navigate to your site-packages directory and enter the django/conf/project_template directory. Open the settings.py file in your favourite text editor and change ...
Using Textmate
Being a Mac user one of the best utilities when writing code is Textmate. It has inbuilt support for Python, HTML and CSS among others. To use it best with Django you need to download a bundle which handles Django python code and Django templates. The simplest way to install the bundle is to download it from the Textmate Bundle Browser site. This will download a shell script to install the bundle from the Textmate SVN repository. Once installed you get nice syntax colouring like this:

A couple of very useful keyboard shortcuts for Textmate are worth remembering: (Ctrl - CMD ...
New website update
My new website is now live
At last I've rebuilt the website using Django. I've also launched my new domain ianmcconachie.com.here are still some features that I want to add to the site and they'll come along in the near future.Feel free to let me know what you think of the site, good or bad - I can take it.
New website
Relative paths in settings.py
The settings.py file in your Django project holds various settings for your database, time zone, media and template folders among others. Directories need to be entered with their full paths, like "/home/html/django_templates" or "C:/www/django/templates". In order to use relative paths, place the following lines at the beginning of the settings.py file
import os
def rel(*x):
return os.path.join(os.path.abspath(os.path.dirname(__file__)), *x)
Writing a CMS in Django
Django and MVC
Updating to PHP5.3
Setting up a VPS
Thought I would add something else into the learning curve - setting up a VPS.
I bought a package from LayerShift. This gives me a 10GB CentOS 5 server with 160MB RAM and 150GB bandwidth a month, all for £4.95 per month.
It took 10 mins from loading their website to the VPS being up and running. The package is unmanaged but comes with Parallels control panel

The first job was to set up Apache and PHP5. CentOS installs with the package manager Yum by default but for some reason most VPS providers remove it.
After a bit of searching ...