from django.conf.urls import patterns, url

from django_lti_tool_provider import views as lti_views

urlpatterns = [
    url(r'', lti_views.LTIView.as_view(), name='home'),
    url('^accounts/login/$', 'django.contrib.auth.views.login'),
    url(r'^lti$', lti_views.LTIView.as_view(), name='lti')
]
from django.conf.urls import url

from django_lti_tool_provider import views as lti_views

urlpatterns = [
    url(r'', lti_views.LTIView.as_view(), name='home'),
    url('^accounts/login/$', 'django.contrib.auth.views.login'),
    url(r'^lti$', lti_views.LTIView.as_view(), name='lti')
]
Remove reference to deprecated "patterns" function.
Remove reference to deprecated "patterns" function.

This function is no longer available starting with Django 1.10.

Cf. https://docs.djangoproject.com/en/2.1/releases/1.10/#features-removed-in-1-10
