> On 24 Nov 2016, at 12:12, João Sampaio <[email protected]> wrote:
> 
> (1) The documentation says: By default, no validation is performed and all 
> passwords are accepted. So they are not enabled by default in new projects.


This is the usual (and understandable) confusions between:

- the “default” if you upgrade a project that predates the password validation 
feature and don’t add an AUTH_PASSWORD_VALIDATORS setting: no validation is 
performed, for backwards compatibility
- the “default” if you start a new project with startproject after the password 
validation feature was added, then the generated settings.py will contain a 
reasonable default for AUTH_PASSWORD_VALIDATORS

Another setting that often causes the same confusion is USE_TZ, the “default if 
not provided” is False and the “default in project template” is True.

-- 
Aymeric.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/4A092142-4751-4F87-BCB8-C25CE43DDFA3%40polytechnique.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to