django1/django/contrib/auth
Aymeric Augustin ba7206cd81 Changed get_model to raise an exception on errors.
Returning None on errors required unpythonic error checking and was
inconsistent with get_app_config.

get_model was a private API until the previous commit, but given that it
was certainly used in third party software, the change is explained in
the release notes.

Applied the same change to get_registered_model, which is a new private
API introduced during the recent refactoring.
2013-12-28 20:53:00 +01:00
..
fixtures Whitespace cleanup. 2013-10-10 16:49:20 -04:00
handlers Started attackign the next flake8 violation 2013-10-31 08:42:28 -07:00
locale Fixed #21388 -- Corrected language code for Frisian 2013-11-11 13:34:01 +01:00
management Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
templates/registration Fixed #12202 -- Removed hardcoded password reset subject and added a subject_template_name parameter to the password_reset view. Thanks, Ramiro Morales, Claude Paroz and agabel. 2011-06-19 11:24:39 +00:00
tests Added missing newline in previous commit. 2013-12-26 07:52:31 -05:00
__init__.py Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
admin.py Fixed E124 pep8 warnings. 2013-12-10 15:12:48 -05:00
backends.py Propagate get_user_model exception from get_user 2013-11-14 12:02:26 -08:00
context_processors.py Started attackign the next flake8 violation 2013-10-31 08:42:28 -07:00
create_superuser.py Fixed #7392 -- Corrected a typo in the backwards-compatibility layer to the new createsuperuser command. 2008-06-08 08:45:14 +00:00
decorators.py Fixed E125 pep8 warnings 2013-11-28 08:50:11 -05:00
forms.py Removed a few gratuitous lambdas. 2013-12-26 14:03:50 +01:00
hashers.py Fixed #21535 -- Fixed password hash iteration upgrade. 2013-11-30 14:18:37 -05:00
middleware.py Fixed a number of flake8 errors -- particularly around unused imports and local variables 2013-09-06 21:56:40 -07:00
models.py Fixed #21387 -- Merge two very similar help texts. 2013-11-06 00:35:20 -03:00
signals.py Fixed #18616 -- added user_login_fail signal to contrib.auth 2012-09-30 22:34:50 -07:00
tokens.py Fixed #19354 -- Do not assume usermodel.pk == usermodel.id 2012-11-29 21:45:43 +01:00
urls.py Removed django.contrib.auth.views.password_reset_confirm_uidb36() view to finish its accelerated deprecation schedule. 2013-06-29 12:22:15 -03:00
views.py Fixed an unescisarily gendered pronoun in a docstring 2013-11-29 16:57:36 -06:00