Bump version to 0.2.6 to fix remaining Django 2.0 warnings

This commit is contained in:
Garret Wassermann
2017-12-28 09:11:34 -05:00
parent 5112f0dfd0
commit d18ce1f1d5
19 changed files with 28 additions and 28 deletions

View File

@ -20,7 +20,7 @@ def get_staff_user(username='helpdesk.staff', password='password'):
def reload_urlconf(urlconf=None):
from imp import reload # python 3 needs this import.
from importlib import reload # python 3 needs this import.
if urlconf is None:
from django.conf import settings
@ -33,7 +33,7 @@ def reload_urlconf(urlconf=None):
if urlconf in sys.modules:
reload(sys.modules[urlconf])
from django.core.urlresolvers import clear_url_caches
from django.urls import clear_url_caches
clear_url_caches()