django1/django/core/management/commands
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
..
__init__.py Major refactoring of django.core.management -- it's now a package rather than a 1730-line single module. All django-admin/manage.py commands are now stored in separate modules. This is backwards-incompatible for people who used django.core.management functions directly 2007-08-16 06:06:55 +00:00
check.py Fixed #20653 -- Renamed checksetup management command. 2013-06-25 09:37:54 +08:00
compilemessages.py Fixed E127 pep8 warnings. 2013-12-14 11:59:15 -05:00
createcachetable.py Fixed #21012 -- New API to access cache backends. 2013-11-23 15:06:59 +01:00
dbshell.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
diffsettings.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
dumpdata.py Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
flush.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
inspectdb.py Used app_label instead of appname. 2013-12-28 09:53:02 +01:00
loaddata.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
makemessages.py Closed file after reading pot file 2013-11-30 11:31:17 +01:00
makemigrations.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
migrate.py Used app_label instead of appname. 2013-12-28 09:53:02 +01:00
runfcgi.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
runserver.py Migrate prompts if you need makemigrations, runserver prompts for migrate 2013-12-04 13:34:01 +00:00
shell.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
sql.py Migrated built-in AppCommands to use handle_app_config. 2013-12-28 09:43:06 +01:00
sqlall.py Migrated built-in AppCommands to use handle_app_config. 2013-12-28 09:43:06 +01:00
sqlclear.py Migrated built-in AppCommands to use handle_app_config. 2013-12-28 09:43:06 +01:00
sqlcustom.py Migrated built-in AppCommands to use handle_app_config. 2013-12-28 09:43:06 +01:00
sqldropindexes.py Migrated built-in AppCommands to use handle_app_config. 2013-12-28 09:43:06 +01:00
sqlflush.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
sqlindexes.py Migrated built-in AppCommands to use handle_app_config. 2013-12-28 09:43:06 +01:00
sqlinitialdata.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
sqlmigrate.py Used app_label instead of appname. 2013-12-28 09:53:02 +01:00
sqlsequencereset.py Migrated built-in AppCommands to use handle_app_config. 2013-12-28 09:43:06 +01:00
squashmigrations.py Allow squashing of squashed migrations 2013-11-06 15:27:08 +00:00
startapp.py Deprecated django.utils.importlib 2013-07-29 17:10:22 +02:00
startproject.py Deprecated django.utils.importlib 2013-07-29 17:10:22 +02:00
syncdb.py Deprecated SortedDict (replaced with collections.OrderedDict) 2013-08-04 07:09:39 -04:00
test.py Fixed #21026 -- Corrected help for manage.py test command. 2013-09-03 09:50:34 -06:00
testserver.py Fixed E124 pep8 warnings. 2013-12-10 15:12:48 -05:00
validate.py Fixed #3011 -- Added swappable auth.User models. 2012-09-26 18:48:09 +08:00