Django

Code

Changeset 4349

Show
Ignore:
Timestamp:
01/18/07 21:18:36 (2 years ago)
Author:
adrian
Message:

Fixed #3317 -- Fixed typos in docs/testing.txt. Thanks for the patch, Marc Fargas

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/testing.txt

    r4301 r4349  
    245245``login(path, username, password)`` 
    246246    In a production site, it is likely that some views will be protected with 
    247     the @login_required URL provided by ``django.contrib.auth``. Interacting 
     247    the @login_required decorator provided by ``django.contrib.auth``. Interacting 
    248248    with a URL that has been login protected is a slightly complex operation, 
    249     so the Test Client provides a simple URL to automate the login process. A 
     249    so the Test Client provides a simple method to automate the login process. A 
    250250    call to ``login()`` stimulates the series of GET and POST calls required 
    251     to log a user into a @login_required protected URL
     251    to log a user into a @login_required protected view
    252252 
    253253    If login is possible, the final return value of ``login()`` is the response