Ticket #10908: docs.patch

File docs.patch, 671 bytes (added by gruszczy, 6 years ago)
  • docs/topics/testing.txt

     
    669669        user accounts that are valid on your production site will not work
    670670        under test conditions. You'll need to create users as part of the test
    671671        suite -- either manually (using the Django model API) or with a test
    672         fixture.
     672        fixture. Also remember that user password must be hashed either by
     673        using ``set_password()`` or by creating users with
     674        ``User.objects.create_user``.
    673675
    674676    .. method:: Client.logout()
    675677
Back to Top