django1/django/contrib/gis
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
..
admin Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
db Fixed E124 pep8 warnings. 2013-12-10 15:12:48 -05:00
forms Fixed E127 pep8 warnings. 2013-12-14 11:59:15 -05:00
gdal Fixed E127 pep8 warnings. 2013-12-14 11:59:15 -05:00
geoip Corrected setting name in gis test error message. 2013-12-05 18:22:37 -03:00
geometry Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
geos Added a missing import and removed an unneeded import 2013-12-24 08:35:13 -08:00
locale Fixed #21388 -- Corrected language code for Frisian 2013-11-11 13:34:01 +01:00
management More attacking E302 violators 2013-11-02 13:12:09 -07:00
maps Fixed all E226 violations 2013-11-03 10:08:55 -08:00
sitemaps Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
static/gis/js Isolated map creation JS code 2013-09-03 13:53:35 +02:00
templates/gis Whitespace cleanup. 2013-10-10 16:49:20 -04:00
tests Imported override_settings from its new location. 2013-12-23 21:37:56 +01:00
utils Fixed E125 pep8 warnings 2013-11-28 08:50:11 -05:00
__init__.py [py3] Added buffer/memoryview compatibility 2012-09-23 19:55:53 +02:00
feeds.py Continue to attack E302 violations 2013-11-02 10:18:46 -07:00
measure.py Fixed flake8 E241 2013-11-02 21:45:40 +02:00
models.py Fixed E125 pep8 warnings 2013-11-28 08:50:11 -05:00
shortcuts.py Continue to attack E302 violations 2013-11-02 10:18:46 -07:00
views.py Continue to attack E302 violations 2013-11-02 10:18:46 -07:00