django1/django/db/migrations
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
..
operations Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
__init__.py Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
autodetector.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
executor.py Used app_label instead of appname. 2013-12-28 09:53:02 +01:00
graph.py Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
loader.py Created a constant for the migrations module name. 2013-12-27 15:36:19 +01:00
migration.py Fix migration planner to fully understand squashed migrations. And test. 2013-10-23 22:56:54 +01:00
optimizer.py Fixed E124 pep8 warnings. 2013-12-10 15:12:48 -05:00
questioner.py Created a constant for the migrations module name. 2013-12-27 15:36:19 +01:00
recorder.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
state.py Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
writer.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00