django1/django/core/management
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
..
commands Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
__init__.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
base.py Updated the AppCommand API to support apps without a models module. 2013-12-28 09:42:59 +01:00
color.py Fixed #13476 -- Added support for color in console output under Windows. 2013-12-02 23:18:04 -03:00
sql.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
templates.py Fixed E221 pep8 warnings. 2013-10-22 09:51:39 -04:00
utils.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
validation.py Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00