Ticket #14173: changepass-docs.diff

File changepass-docs.diff, 3.0 KB (added by Ramiro Morales, 8 years ago)
  • docs/ref/django-admin.txt

    diff -r c1326c8bf111 docs/ref/django-admin.txt
    a b  
    8383Available subcommands
    8484=====================
    8585
     86changepassword
     87--------------
     88
     89.. django-admin:: changepassword
     90
     91.. versionadded:: 1.2
     92
     93Allows changing a User's password. It prompts you to enter twice the password of
     94the user given as parameter. If they both match, the new password will be
     95changed immediately. If you do not supply a user, the command will attempt to
     96change the password whose username matches the current user.
     97
     98Example usage::
     99
     100    django-admin.py changepassword ringo
     101
    86102cleanup
    87103-------
    88104
  • docs/releases/1.1.txt

    diff -r c1326c8bf111 docs/releases/1.1.txt
    a b  
    132132Fixed the ``join`` filter's escaping behavior
    133133---------------------------------------------
    134134
    135 The :ttag:`join` filter no longer escapes the literal value that is
     135The :tfilter:`join` filter no longer escapes the literal value that is
    136136passed in for the connector.
    137137
    138138This is backwards incompatible for the special situation of the literal string
  • docs/topics/auth.txt

    diff -r c1326c8bf111 docs/topics/auth.txt
    a b  
    3737    2. Run the command ``manage.py syncdb``.
    3838
    3939Note that the default :file:`settings.py` file created by
    40 :djadmin:`django-admin.py startproject` includes ``'django.contrib.auth'`` and
    41 ``'django.contrib.contenttypes'`` in :setting:`INSTALLED_APPS` for convenience.
    42 If your :setting:`INSTALLED_APPS` already contains these apps, feel free to run
    43 :djadmin:`manage.py syncdb` again; you can run that command as many times as
    44 you'd like, and each time it'll only install what's needed.
     40:djadmin:`django-admin.py startproject <startproject>` includes
     41``'django.contrib.auth'`` and ``'django.contrib.contenttypes'`` in
     42:setting:`INSTALLED_APPS` for convenience.  If your :setting:`INSTALLED_APPS`
     43already contains these apps, feel free to run :djadmin:`manage.py syncdb
     44<syncdb>` again; you can run that command as many times as you'd like, and each
     45time it'll only install what's needed.
    4546
    4647The :djadmin:`syncdb` command creates the necessary database tables, creates
    4748permission objects for all installed apps that need 'em, and prompts you to
     
    358359.. versionadded:: 1.2
    359360   The ``manage.py changepassword`` command was added.
    360361
    361 :djadmin:`manage.py changepassword <username>` offers a method of
    362 changing a User's password from the command line. It prompts you to
     362:djadmin:`manage.py changepassword *username* <changepassword>` offers a method
     363of changing a User's password from the command line. It prompts you to
    363364change the password of a given user which you must enter twice. If
    364365they both match, the new password will be changed immediately. If you
    365366do not supply a user, the command will attempt to change the password
Back to Top