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


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

from django.urls import path

from django.contrib import admin


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

Test fix.