Resolving django 1.6 issues