from django.conf.urls import url
from django.contrib.auth.views import login

urlpatterns = [
    #url(r'^$', login, {'template_name' : {'template_name': 'sessao/entrar.html'}, name = 'entrar'),
    url(r'^$', login, {'template_name': 'sessao/entrar.html'},
        name='entrar'),

]

0c042d33a1fb05701bb5ce784b396b769ed8e120
<mask token>

<mask token>
urlpatterns = [url('^$', login, {'template_name': 'sessao/entrar.html'},
    name='entrar')]

from django.conf.urls import url
from django.contrib.auth.views import login
urlpatterns = [url('^$', login, {'template_name': 'sessao/entrar.html'},
    name='entrar')]

from django.conf.urls import url
from django.contrib.auth.views import login

urlpatterns = [
    #url(r'^$', login, {'template_name' : {'template_name': 'sessao/entrar.html'}, name = 'entrar'),
    url(r'^$', login, {'template_name': 'sessao/entrar.html'},
        name='entrar'),

]
