more django compatibility fixes
Merge pull request #5 from groovecoder/django-1.4.5-upgrade

more django compatibility fixes