diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2013-03-11 15:39:13 -0500 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2013-03-11 15:39:13 -0500 |
| commit | faabf3614e27c2b616bf4730272fafa9627652d8 (patch) | |
| tree | 99d33f7479e38b83835d6872a0fa90448b814ad6 /django | |
| parent | f2f98abb955c83eca3ceea62d1711c80ae028d33 (diff) | |
| parent | d0561242699ed29527b9ab1dabe8a668e519eba5 (diff) | |
Merge branch 'deprecate-comments'
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/comments/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/contrib/comments/__init__.py b/django/contrib/comments/__init__.py index 1798c1adb5..007b77ad7b 100644 --- a/django/contrib/comments/__init__.py +++ b/django/contrib/comments/__init__.py @@ -1,3 +1,4 @@ +import warnings from django.conf import settings from django.core import urlresolvers from django.core.exceptions import ImproperlyConfigured @@ -5,6 +6,8 @@ from django.contrib.comments.models import Comment from django.contrib.comments.forms import CommentForm from django.utils.importlib import import_module +warnings.warn("django.contrib.comments is deprecated and will be removed before Django 1.8.", PendingDeprecationWarning) + DEFAULT_COMMENTS_APP = 'django.contrib.comments' def get_comment_app(): |
