old_contents: # -*- coding: utf-8 -*-
  
  from django.conf.urls import patterns, url
  
  from .views import SlackAuthView
  
  urlpatterns = patterns('',
                         url('login/', SlackAuthView.as_view(), name='slack_auth'),
                         )
  
new_contents: # -*- coding: utf-8 -*-
  
  from django.conf.urls import patterns, url
  
  from .views import SlackAuthView
  
  urlpatterns = [
    url('login/', SlackAuthView.as_view(), name='slack_auth'),
  ]                
  
subject: Update urls.py.