Kevin Marsh
10945ebeb8
Removed unused import in example code in docs/topics/auth/default.txt
2015-05-27 13:26:20 +01:00
Tim Graham
00d763a4fb
Fixed typo in docs/topics/auth/default.txt
2015-05-22 06:48:59 -04:00
Laurent Peuch
21efb5eb74
Enhanced registration/login.html example template.
2015-05-21 20:45:51 -04:00
Charles Dee Rice
4f3c444241
Fixed #24789 -- Fixed wrong positional args order in doc example
...
Arguments shown in example code (signal, sender, instance) appeared to
be the incorrect positional arguments for a post_save signal (which
might start as: sender, instance, created), as documented:
https://docs.djangoproject.com/en/1.8/ref/signals/#post-save
2015-05-13 10:14:33 +02:00
Tim Graham
8e86d9d3df
Fixed #24780 -- Removed outdated discussion of signals and custom users.
2015-05-11 09:10:30 -04:00
Dan Watson
fe914341c8
Fixed #24564 -- Moved AbstractBaseUser and BaseUserManager so they can be used without auth in INSTALLED_APPS
2015-05-05 12:03:48 -04:00
Tim Graham
981e3b9394
Fixed #24429 -- Doc'ed that Django 1.8 doesn't require an integer PK for custom user models.
2015-04-07 10:45:31 -04:00
Christopher Luc
e37d52bd5e
Fixed #22993 -- Deprecated skipIfCustomUser decorator
2015-04-07 09:45:32 -04:00
Thomas Güttler
566c936236
Added admonition about reusable apps and AUTH_USER_PROFILE.
2015-04-06 19:49:46 -04:00
Sam Thursfield
1119063c69
Fixed #24556 -- Added reminder about HTTPS to passwords docs.
2015-04-03 10:55:11 -04:00
Tim Graham
3e132406e3
Fixed syntax highlighting in docs/topics/auth/default.txt
2015-03-28 07:49:03 -04:00
Matt Seymour
fca14cd3f2
Fixed #24501 -- Improved auth.decorators.user_passes_test() example.
2015-03-24 10:30:00 -04:00
Andrei Kulakov
e8a758e941
Fixed #24253 -- Documented staff_member_required decorator.
2015-03-13 14:46:13 -04:00
Remco Kranenburg
f6b09a7f85
Refs #23559 -- warned about consequences of letting users edit User model in admin.
2015-03-13 08:50:48 -04:00
Rik
eb9b7abb83
Fixed #21661 -- Expanded authentication views documentation
2015-03-08 20:36:27 +01:00
Marten Kenbeek
8e744fa150
Stressed authentication should be successful before logging in a user.
2015-03-05 12:17:56 -05:00
darkryder
9ec8aa5e5d
Fixed #24149 -- Normalized tuple settings to lists.
2015-02-03 14:59:45 -05:00
Tim Graham
c79faae761
Removed versionadded/changed notes for 1.7.
2015-02-01 21:02:40 -05:00
Tim Graham
a7aaabfaf1
Removed doc note about PasswordResetForm requiring an integer PK.
...
This limitation was lifted in refs #14881 .
2015-01-01 11:38:53 -05:00
Aymeric Augustin
9eb4f28e89
Deprecated TEMPLATE_CONTEXT_PROCESSORS.
2014-12-28 17:02:31 +01:00
Tim Graham
b6ea059b4a
Fixed #23957 -- Started deprecation toward requiring session verification.
...
Thanks Carl Meyer for review.
2014-12-05 07:37:34 -05:00
Berker Peksag
87bd13617c
Fixed #23847 -- Improved the email_check example in the auth documentation.
2014-11-27 11:52:50 +01:00
Yigit Guler
c5132382f0
Fixed #23793 -- Clarified password reset behavior in auth docs
2014-11-15 17:41:01 +01:00
Ilya Baryshev
ed7c4df1ee
Fixed documentation of make_password kwargs.
2014-10-27 06:36:55 -04:00
Michael Angeletti
21a9e8adf0
Removed sentence from docs about migrate prompting to add a superuser.
2014-08-31 12:30:50 -04:00
Tim Graham
e39af5ea59
Fixed #21648 -- Deprecated is_admin_site option to auth.views.password_reset().
2014-08-23 19:32:58 -04:00
areski
9d6551204e
Removed unnecessary code-block directives.
2014-08-19 16:44:25 -04:00
Tim Graham
3569536491
Fixed #23314 -- Tempered recommendation of storing profile data on custom user.
...
Thanks gavinwahl for the report.
2014-08-19 07:24:36 -04:00
Collin Anderson
e5376999fa
Refs #23276 -- Added missing url() in some places.
2014-08-13 14:20:15 -04:00
Christoph Heer
d47409831f
Fixed #23067 -- Updated docs to use django-admin
2014-07-30 14:14:03 -04:00
Tim Graham
abb97cffdf
Fixed #23132 -- Removed confusing clause in auth docs.
2014-07-30 08:15:13 -04:00
Iain Dawson
8fbf13a6c8
Replaced instances of 'his/her' with 'their'.
2014-07-21 19:49:12 +00:00
Anubhav Joshi
75ff7b8fb8
Fixed #21832 -- Updated prompt, tests, and docs to show that USERNAME_FIELD supports FK after 9bc2d76
.
...
Also added get_input_data() hook in createsuperuser.
Thanks Chris Jerdonek and Tim Graham for review.
2014-07-08 08:21:41 -04:00
Anubhav Joshi
9bc2d766a0
Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS.
...
This allows specifying ForeignKeys in REQUIRED_FIELDS when using a
custom User model.
Thanks cjerdonek and bmispelon for suggestion and timgraham for review.
2014-07-03 07:42:52 -04:00
Andrew Godwin
e9249bc20b
Fixed #22932 : Documented circular dependency issues with swappable user
2014-07-01 20:54:46 -07:00
Andrew Godwin
08221d1b5c
Fixed #22874 : Document that AUTH_USER_MODEL must be in first migration
2014-06-19 23:48:29 -07:00
Andrew Godwin
8d2ac948a9
Fixed #22853 : Swapped models are now ignored for migration operations.
2014-06-17 17:45:38 -07:00
Tim Graham
93d05536fd
Fixed #22770 -- Removed create_superuser from post_migrate signals.
...
Moved logic to syncdb command for backwards compatibility.
2014-06-10 14:37:37 -04:00
Jorge C. Leitão
a00b78b1e2
Fixed #17431 -- Added send_mail() method to PasswordResetForm.
...
Credits for the initial patch go to ejucovy;
big thanks to Tim Graham for the review.
2014-06-10 14:00:52 -04:00
Tim Graham
34f4fd7024
Corrected some indentation in docs/topics/auth/default.txt.
2014-06-10 09:18:58 -04:00
Víðir Valberg Guðmundsson
268670a3a4
Fixed #22647 -- Documented redirect_field_name keyword argument for user_passes_test.
2014-05-17 09:45:15 -04:00
Jorge C. Leitão
2e364a0aac
Fixed #15716 - Authentication backends can short-circuit authorization.
...
Authorization backends can now raise PermissionDenied in "has_perm"
and "has_module_perms" to short-circuit authorization process.
2014-05-16 12:57:38 -04:00
Ray Ashman
9853779805
Updated grammar in description of django.contrib.auth.
2014-04-22 18:28:47 -04:00
Alex Gaynor
0e27882b3a
Stray paren
2014-04-17 11:29:07 -07:00
Alex Gaynor
464b98b1fe
Include an 'extra_requires' for bcrypt
2014-04-17 11:28:09 -07:00
Tim Graham
ae5b662796
Added a note regarding django.contrib.auth.authenticate.
...
Thanks Josh Brown for the suggestion.
2014-04-16 07:47:56 -04:00
Tim Graham
fd23c06023
Fixed #21649 -- Added optional invalidation of sessions when user password changes.
...
Thanks Paul McMillan, Aymeric Augustin, and Erik Romijn for reviews.
2014-04-05 12:50:51 -04:00
Tim Graham
51c8045145
Removed versionadded/changed annotations for 1.6.
2014-03-24 11:42:56 -04:00
Tim Graham
5840445664
Fixed #22006 -- Documented how to write a login_required mixin for CBVs.
...
Thanks django at patjack.co.uk for the suggestion and mockforest
for the draft patch.
2014-03-17 06:49:59 -04:00
Aymeric Augustin
1be31c320c
Fixed #21875 -- Clarified that get_user_model() only works at run time.
...
Thanks Benjamin White for the report.
2014-03-10 21:11:23 +01:00