fixing some syntax changes from django 1.4 -> 1.5
ignores swp-files