Django 1.6 compatibility fixes.
Django 1.6 compatibility fixes.

korfuri/django-prometheus,wangwanzhong/django-prometheus,wangwanzhong/django-prometheus,DingaGa/django-prometheus,obytes/django-prometheus,obytes/django-prometheus,korfuri/django-prometheus,DingaGa/django-prometheus