fix Django 1.6 uidb36 to uidb64 issue