Fix a deprecation warning.
Fix a deprecation warning.

richardbarran/django-mininews,richardbarran/django-minipub,richardbarran/django-mininews,richardbarran/django-minipub,richardbarran/django-mininews