Modified django code to match v1.10 conventions.

This commit is contained in:
kououken 2018-12-20 12:21:43 -06:00
parent 6be348c110
commit eee1bfb680

View file

@ -14,8 +14,8 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
""" """
from django.contrib import admin from django.contrib import admin
from django.urls import path from django.conf.urls import url
urlpatterns = [ urlpatterns = [
path('admin/', admin.site.urls), url('admin/', admin.site.urls),
] ]