django1/django/contrib/admindocs
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
..
locale Fixed #21388 -- Corrected language code for Frisian 2013-11-11 13:34:01 +01:00
templates/admin_doc Fixed #21386 -- Removed admindocs dependence on sites framework 2013-12-18 19:44:04 +01:00
tests Fixed E124 pep8 warnings. 2013-12-10 15:12:48 -05:00
__init__.py Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
middleware.py Started attackign the next flake8 violation 2013-10-31 08:42:28 -07:00
urls.py Fixed E124 pep8 warnings. 2013-12-10 15:12:48 -05:00
utils.py Started attackign the next flake8 violation 2013-10-31 08:42:28 -07:00
views.py Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00