django1/django/contrib
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
..
admin Used app_config.verbose_name instead of app_label|capfirst. 2013-12-26 22:58:37 +01:00
admindocs Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
auth Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
comments Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
contenttypes Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
flatpages Imported override_settings from its new location. 2013-12-23 21:37:56 +01:00
formtools Imported override_settings from its new location. 2013-12-23 21:37:56 +01:00
gis Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
humanize Imported override_settings from its new location. 2013-12-23 21:37:56 +01:00
messages Removed a few gratuitous lambdas. 2013-12-26 14:03:50 +01:00
redirects Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
sessions Imported override_settings from its new location. 2013-12-23 21:37:56 +01:00
sitemaps Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
sites Imported override_settings from its new location. 2013-12-23 21:37:56 +01:00
staticfiles Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
syndication Fixed flake8 E251 violations 2013-11-03 03:22:11 -06:00
webdesign Removed superfluous models.py files. 2013-12-17 11:16:48 +01:00
__init__.py