Iain Dawson
205090bc71
[1.6.x] Replaced instances of 'his/her' with 'their'.
...
Backport of 8fbf13a6c8
from master
2014-07-21 19:55:28 +00:00
Tim Graham
f939e25b59
[1.6.x] Fixed #22585 -- Fixed typo in topics/auth/customizing.txt.
...
Thanks matt at mattwoodward.com for the report.
2014-05-06 12:13:55 -04:00
Baptiste Mispelon
4aaea2921d
[1.6.x] Fixed some typos in the documentation.
...
Thanks to Rodolfo Carvalho and Piotr Kasprzyk
for the patch.
Partial backport of ea4da8e63c
from master.
2014-03-02 17:21:10 +01:00
Tim Graham
e56ce87bd8
[1.6.x] Fixed #22093 -- Made Form.Meta.fields examples consistent.
...
Thanks david-schultz at gmx.net for the suggestion.
Backport of 821fc925f0
from master
2014-02-19 12:33:32 -05:00
Tim Graham
f7c2852f30
[1.6.x] Fixed #21726 -- Clarified that password should not be included in REQUIRED_FIELDS.
...
Thanks russellm for the report.
Backport of 6f06c749b7
from master
2014-01-22 10:19:02 -05:00
Claude Paroz
5d99cd6877
[1.6.x] Fixed #21730 -- Removed superfluous db_index in custom auth docs
...
Thanks rafalp for the report.
Backport of c717ebbfec
from master.
2014-01-04 16:13:21 +01:00
Sylvain Bellemare
b3da4cc092
[1.6.x] Removed no longer relevant word
...
Backport of 3935b0f263
from master
2013-11-07 09:32:26 -05:00
Sylvain Bellemare
35fd14cf42
[1.6.x] Fixed typo -- "a" user, not "an" user
...
Backport of c7dabe49dd
from master
2013-11-01 19:28:19 -04:00
Claude Paroz
7a58fde7a6
[1.6.x] Fixed grammar/typos in auth customization docs
...
Backport of 1b9c72fc4f
from master.
2013-10-09 16:22:36 +02:00
Russell Keith-Magee
1ab84b6c65
[1.6.x] Fixed #21164 -- Added documentation for issue with test users.
...
The package renaming restores the older package names (which were also the
documented package names). This doesn't affect test discovery because the
module in question doesn't contain any tests.
Thanks to Carl for the design discussion.
Backport of ddb5385
from master.
2013-10-08 10:37:48 +08:00
Tim Graham
da44a8bdc2
[1.6.x] Fixed #20646 -- Clarified the use of AbstractBaseUser.REQUIRED_FIELDS
...
Thanks craigbruce.
Backport of db3de52807
from master
2013-09-06 16:06:46 -04:00
Tim Graham
579ca9ee8d
[1.6.x] Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelAdmin attribute.
...
Backport of dce8945ea6
from master
2013-07-18 12:41:51 -04:00
Claude Paroz
a9dd6221af
[1.6.x] Fixed #20224 -- Update docs examples which mention __unicode__
...
Thanks Marc Tamlyn and Tim Graham for the review.
Backport of 7442eb1a24
from master.
2013-07-05 19:30:08 +02:00
Tim Graham
541a30c376
[1.6.x] Fixed #20134 -- Correct list of fields that UserManager requires.
...
Thanks semenov and pegler.
Backport of da5069f68f
from master.
2013-07-04 10:20:02 -04:00
Baptiste Mispelon
b0b506b933
Fixed broken reference in documentation.
2013-06-19 10:37:24 +02:00
Erik Romijn
2c4fe761a0
Fixed #20593 -- Allow blank passwords in check_password() and set_password()
2013-06-18 13:32:54 -04:00
Gavin Wahl
01ae881bb4
Don't hard-code class names when calling static methods
...
normalize_email should be called on the instance, not the class. This
has the same effect normally but is more helpful to subclassers. When
methods are called directly on the class, subclasses can't override
them.
2013-05-29 16:11:26 -06:00
Tim Graham
cc62cbed76
Fixed some line wrapping, refs #20233
2013-05-19 06:51:55 -04:00
postrational
0b3a6ead88
refs #20233 - Full custom user model example isn't really full
...
Addition and fix for custom user model example documentation.
https://code.djangoproject.com/ticket/20233
2013-05-19 10:48:30 +02:00
zhongqi
1172bef998
Update customizing.txt
...
The origin statement "which could be ... or whatever" **misguides** many newbies like me.
In fact, the ``login`` function in ``contrib.auth`` stores ``user.pk`` in session, then ``get_user`` function in ``contrib.auth`` gets ``user.pk`` in session and then passes it to your custom ``get_user`` as ``user_id``.
Which means, ``user_id`` prarameter in your custom ``get_user`` has to be the primary key of ``User`` object, too.
2013-05-11 15:53:54 +08:00
Luke Plant
f026a519ae
Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and added '__all__' shortcut
...
This also updates all dependent functionality, including modelform_factory
and modelformset_factory, and the generic views `ModelFormMixin`,
`CreateView` and `UpdateView` which gain a new `fields` attribute.
2013-05-09 16:44:36 +01:00
Juan Catalano
78c842a323
Adapted uses of versionchanged/versionadded to the new form.
...
Refs #20104 .
2013-04-20 17:18:35 +02:00
Claude Paroz
f670cce9f5
Fixed #20119 -- Fixed typo in auth docs
...
Thanks vinyll for the report.
2013-03-23 20:00:18 +01:00
Tim Graham
93cffc3b37
Added missing markup to docs.
2013-03-22 13:50:07 -04:00
Ben Konrath
d546259647
Fixed #19394 --Added note about auth forms and custom user models.
2013-02-24 07:55:38 -08:00
Tim Graham
24a2bcbcdd
Fixed #19402 - Clarified purpose of CustomUser.REQUIRED_FIELDS
...
Thanks pydanny for the report and ptone for the patch.
2013-02-23 15:42:56 -05:00
Preston Holmes
649118961c
Fixed #19868 -- Clarified purpose of custom user example
2013-02-20 15:32:35 -08:00
Tim Graham
00031b73bd
Updated a couple admonitions to use the warning directive.
2013-02-19 11:31:41 -05:00
Russell Keith-Magee
91c26eadc9
Refs #14881 -- Document that User models need to have an integer primary key.
...
Thanks to Kaloian Minkov for the reminder about this undocumented requirement.
2013-02-16 10:21:05 +08:00
Russell Keith-Magee
f5e4a699ca
Fixed #19822 -- Added validation for uniqueness on USERNAME_FIELD on custom User models.
...
Thanks to Claude Peroz for the draft patch.
2013-02-15 09:00:55 +08:00
Tim Graham
2c173ff3b4
Fixed a typo in docs/topics/auth/customizing.txt
2013-02-03 13:23:16 -05:00
Tim Graham
0375244eae
Fixed #19628 - Noted that app for custom user model must be in INSTALLED_APPS
...
Thanks dpravdin and Jordan Messina.
2013-01-18 18:38:12 -05:00
Preston Holmes
11ded967c4
Fixed #19498 -- refactored auth documentation
...
The auth doc was a single page which had grown unwieldy.
This refactor split and grouped the content into sub-topics.
Additional corrections and cleanups were made along the way.
2012-12-28 11:06:12 -08:00