django1/django/contrib/gis/sitemaps
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 Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
georss.py Continue to attack E302 violations 2013-11-02 10:18:46 -07:00
kml.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
views.py Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00