summaryrefslogtreecommitdiff
path: root/docs/topics/auth.txt
AgeCommit message (Collapse)Author
2010-08-09[soc2010/query-refactor] Merged up to trunk r13556, resolved merge conflictsarchive/soc2010/query-refactorAlex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-01[soc2010/query-refactor] Merged up to trunk r13405.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10Fixed #13158 -- Clarified that OneToOneField is a better option for User ↵Russell Keith-Magee
profile classes. Thanks to hvdklauw for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08Added hyperlinks for builtin template tags and filters to code samples in docs.Luke Plant
Implemented in javascript because doing it 'properly' is pretty much impossible with Sphinx and Pygments. Refs #12249 git-svn-id: http://code.djangoproject.com/svn/django/trunk@13135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-07Fixed typo and small formatting mistake in docsLuke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Fixed #13226 -- Corrected typo in authentication docs, thanks rokclimb15.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-01Fixed #5605: only lowercase the domain portion of an email address in ↵Jacob Kaplan-Moss
`UserManager.create_user`. Thanks, Leo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-01Fixed #5786: relaxed the validation for usernames to allow more common ↵Jacob Kaplan-Moss
characters '@', etc. This is really just a stop-gap until we come up with a improved way of handling disparate auth data, but it should help us stretch a bit more milage out of the current system. Thanks to alextreme, lbruno, and clayg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21Fixed #12066 - Moved auth context processor from core to the auth app. ↵Jannis Leidel
Thanks, Rob Hudson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21Fixed #12895 - Fixed typo in auth docs. Thanks Timo.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-09Fixed #12829 - typos introduced in [12400]Luke Plant
Thanks Alex. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-09Removed docs that assume developer might be using Python < 2.4Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-06Fixed #12797: Corrected typo in the documentation for the changepassword ↵James Bennett
management command. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-29Fixed #6273 -- Added a 'changepassword' management command. Thanks to Ludvig ↵Russell Keith-Magee
Ericson and Justin Lilly for their work on this patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28Fixed #12557 - AnonymousUser should check auth backends for permissionsLuke Plant
Thanks to hvdklauw for the idea and work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-18Fixed typo in docs - supports_objects_permissions should be ↵Luke Plant
supports_object_permissions git-svn-id: http://code.djangoproject.com/svn/django/trunk@12256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10Fixed #12113 -- Clarified is_active documentation. Thanks, ejucovy and isagalaevAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09Fixed #6991 -- Removed some redundant user.is_authenticated() calls in ↵Adrian Holovaty
various places. Thanks, alexkoshelev, Liang Feng and Ivan Sagalaev git-svn-id: http://code.djangoproject.com/svn/django/trunk@12142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-01Fixed #12383 - Typo fix for authentication documentation.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-18Fixed #8145 - Documented the codenames of the default auth permissionsJannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-10Fixed #11010 - Add a foundation for object permissions to authentication ↵Jannis Leidel
backends. Thanks to Florian Apolloner for writing the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-09Fixed #4604 - Configurable message passing system, supporting anonymous usersLuke Plant
This deprecates User.message_set in favour of a configurable messaging system, with backends provided for cookie storage, session storage and backward compatibility. Many thanks to Tobias McNulty for the bulk of the work here, with contributions from Chris Beaven (SmileyChris) and lots of code review from Russell Keith-Magee, and input from many others. Also credit to the authors of various messaging systems for Django whose ideas may have been pinched :-) git-svn-id: http://code.djangoproject.com/svn/django/trunk@11804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-26Fixed #9977 - CsrfMiddleware gets template tag added, session dependency ↵Luke Plant
removed, and turned on by default. This is a large change to CSRF protection for Django. It includes: * removing the dependency on the session framework. * deprecating CsrfResponseMiddleware, and replacing with a core template tag. * turning on CSRF protection by default by adding CsrfViewMiddleware to the default value of MIDDLEWARE_CLASSES. * protecting all contrib apps (whatever is in settings.py) using a decorator. For existing users of the CSRF functionality, it should be a seamless update, but please note that it includes DEPRECATION of features in Django 1.1, and there are upgrade steps which are detailed in the docs. Many thanks to 'Glenn' and 'bthomas', who did a lot of the thinking and work on the patch, and to lots of other people including Simon Willison and Russell Keith-Magee who refined the ideas. Details of the rationale for these changes is found here: http://code.djangoproject.com/wiki/CsrfProtection As of this commit, the CSRF code is mainly in 'contrib'. The code will be moved to core in a separate commit, to make the changeset as readable as possible. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-23Removed mentions of Python 2.3 support from the docs -- Django 1.2 drops ↵Jacob Kaplan-Moss
support for Python 2.3 -- and added a quick FAQ about that dropping of support. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-12Fixed #8274 - allow custom forms for auth 'login' and 'password_change' viewsLuke Plant
Thanks to julien for the suggestion and patch, and SmileyChris for work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #9414 -- Clarified the documentation on the permission decorators. ↵Russell Keith-Magee
Thanks to timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #10864 -- Clarified the role played by redirect_to_field in the ↵Russell Keith-Magee
login_required auth decorator. Thanks to trigeek38 for the suggestion, and SmileyChris for the draft. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10Fixed #7376: auth docs don't say they depend on contenttypes.Luke Plant
Thanks arien git-svn-id: http://code.djangoproject.com/svn/django/trunk@11487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17Fixed #10855: Reference doc on creating superusers in the tutorial at the ↵Karen Tracey
point where an account is needed, so that readers who neglected to create one earlier (or who forgot the password) don't get stuck or think they have to start all over. Thanks cwolf127 and timo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14Fixed #10273: added an explanation of `SetPasswordForm` and `UserChangeForm` ↵Jacob Kaplan-Moss
to the docs. Thanks, Tarken. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14Fixed #10272: documented the signatures for the contrib.auth views. Thanks, ↵Jacob Kaplan-Moss
Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03Fixed a whole bunch of small docs typos, errors, and ommissions.Jacob Kaplan-Moss
Fixes #8358, #8396, #8724, #9043, #9128, #9247, #9267, #9267, #9375, #9409, #9414, #9416, #9446, #9454, #9464, #9503, #9518, #9533, #9657, #9658, #9683, #9733, #9771, #9835, #9836, #9837, #9897, #9906, #9912, #9945, #9986, #9992, #10055, #10084, #10091, #10145, #10245, #10257, #10309, #10358, #10359, #10424, #10426, #10508, #10531, #10551, #10635, #10637, #10656, #10658, #10690, #10699, #19528. Thanks to all the respective authors of those tickets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31A whole lotta documentation fixes: Fixes #8704, #8826, #8980, #9243, #9343, ↵Jacob Kaplan-Moss
#9529, git-svn-id: http://code.djangoproject.com/svn/django/trunk@10303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31Fixed #10306: Corrected form action in auth login example.James Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15Fixed #689 -- Added a middleware and authentication backend to contrib.auth ↵Gary Wilson Jr
for supporting external authentication solutions. Thanks to all who contributed to this patch, including Ian Holsman, garthk, Koen Biermans, Marc Fargas, ekarulf, and Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-16Auth-related doc cleanups:Gary Wilson Jr
* Added to documentation of missing characters from `allowed_chars` in `make_random_password`. * Fixed several long lines and word wraps. * Added a reference link to the "How to log a user in" section and made a later reference to this section an actual link using the `:ref:` directive. * Turned a command line code example into a code block. * Added attribute reference link for a ``request.META`` mention. * Added `code-block:: html` directives for HTML examples. * Corrected reference links for all the `auth.views` functions. * Added a few function signatures and documentation of optional parameters that were missing for some of the the `auth.views` functions (refs #10272). git-svn-id: http://code.djangoproject.com/svn/django/trunk@9835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-25Added some documentation explaining (1) that it's possible to add users via ↵Adrian Holovaty
the Django admin site, and (2) that in order to be able to add users via the admin site, you need to have both 'add user' and 'change user' permissions. Refs #9866 git-svn-id: http://code.djangoproject.com/svn/django/trunk@9684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08Fixed #9718 -- Removed a reference to oldforms FormWrapper object in the ↵Gary Wilson Jr
user authentication docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15Fixed #9477 -- Removed and edited a bunch of references to "developmentMalcolm Tredinnick
version". Some were replaced with versionadded or versionchanged directives. Other, more minor ones, were removed altogether. Based on a patch from James Bennett. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02Fixed #9497 - Doc typos. Many thanks ramiro.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06Fixed #7011 -- Clarified what User.is_active really means in the documentation.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed #8753: converted "new in ..." callouts to proper Sphinx ↵Jacob Kaplan-Moss
"versionadded/versionchanged" directives. Thanks to Marc Fargas for all the heavy lifting here. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23Massive reorganization of the docs. See the new docs online at ↵Jacob Kaplan-Moss
http://docs.djangoproject.com/. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8506 bcc190cf-cafb-0310-a4f2-bffc1f526a37