django1/django/contrib/comments/views
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 Created django.contrib and moved comments into it 2005-07-14 18:20:03 +00:00
comments.py Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
moderation.py Fixed flake8 E251 violations 2013-11-03 03:22:11 -06:00
utils.py Took advantage of django.utils.six.moves.urllib.*. 2013-09-05 14:39:23 -05:00