upgrade for django 1.6

As a 3rd party app that could be included in projects that use older Django versions, this patch should consider it. Django 1.4 especially is a long-term support release and many people will stay on it for awhile.