from django.conf.urls import url, include
from django.contrib import admin

urlpatterns = [
    url('^admin/', include(admin.site.urls)),
]

from django.conf.urls import url
from django.contrib import admin

urlpatterns = [
    url('^admin/', admin.site.urls),
]

Fix tests for Django 2.0
Fix tests for Django 2.0
