Skip to content

Glossary: Django Basics

force_login()

Also written: create_user, create_user()

A test-client method that signs a user in without the login form. `User.objects.create_user()` makes the test user, with a hashed password.

Where the book teaches it

Related terms

test clientUserhash