On Saturday, 25 November 2017 19:59:10 UTC, Tom Tanner wrote: > > To put it another way: Is there something like `UserCreationForm`, but for > logging in users? > > On Saturday, November 25, 2017 at 2:20:11 PM UTC-5, Tom Tanner wrote: >> >> I guess what I mean is... >> >> What’s function do I need to use that: >> A) logs in the user >> B) returns an error if there’s a problem logging in? > > Did you read the docs, where these are fully documented? https://docs.djangoproject.com/en/1.11/topics/auth/default/#module-django.contrib.auth.views -- DR.
-- 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/e4affa9b-ca78-48e7-8bd7-5bef0aa9748e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

