django1/django/contrib/comments
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
..
locale Fixed #21388 -- Corrected language code for Frisian 2013-11-11 13:34:01 +01:00
templates/comments Fixed #20455 -- Do not use ngettext for undefined plurals 2013-05-25 14:16:46 +02:00
templatetags Fixed flake8 E251 violations 2013-11-03 03:22:11 -06:00
views Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
__init__.py Made the AppConfig API marginally more consistent. 2013-12-26 19:25:09 +01:00
admin.py Removed several unused imports. 2013-06-19 17:18:40 +02:00
feeds.py Fixed flake8 E251 violations 2013-11-03 03:22:11 -06:00
forms.py Fixed flake8 E251 violations 2013-11-03 03:22:11 -06:00
managers.py Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
models.py Fixed #16302 -- Ensure contrib.comments is IPv6 capable 2013-02-24 13:58:38 +01:00
moderation.py Fixed #21266 -- Fixed E201,E202 pep8 warnings. 2013-10-14 18:12:00 -04:00
signals.py comment_will_be_sent can cause a 400, not a 403 2012-11-16 10:19:54 -05:00
urls.py Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00