path('login/', auth_views.LoginView, {'template_name':'accounts/login.html'} 
name='login'),


There's no comma to separate the kwarg dict from the `name` positional 
argument.  As you can see in the docs 
https://docs.djangoproject.com/en/2.1/ref/urls/#path, the path function 
takes four params:

path(route, view, kwargs=None, name=None)

you're providing route and view, but the dict and name are looking like two 
positional args instead of one.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1c82620a-cd22-46c7-87ee-035a8901984b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to