django1/django/db/models
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
..
fields Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
sql Fixed #21643 -- repeated execution of qs with F() + timedelta 2013-12-22 00:03:17 +02:00
__init__.py Restored deprecated aliases for functions in django.db.models. 2013-12-17 10:17:46 +01:00
aggregates.py Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
base.py Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
deletion.py Fixed E125 pep8 warnings 2013-11-28 08:50:11 -05:00
expressions.py Fixed #17027 -- Added support for the power operator in F expressions. 2013-10-22 10:29:57 -04:00
loading.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
manager.py Fixed #13724: Corrected routing of write queries involving managers. 2013-09-30 13:05:43 +08:00
options.py Turned apps.ready into a property. Added tests. 2013-12-26 15:04:58 +01:00
query.py Fixed E127 pep8 warnings. 2013-12-14 11:59:15 -05:00
query_utils.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
related.py A large number of stylistic cleanups across django/db/ 2013-07-08 10:39:54 +10:00
signals.py Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00