mirror of
https://github.com/django/django.git
synced 2025-12-15 21:45:20 +00:00
Removed contrib.comments per deprecation timeline.
This commit is contained in:
parent
35f46ec7a9
commit
aa93a1890f
225 changed files with 23 additions and 27552 deletions
|
|
@ -45,7 +45,6 @@ ALWAYS_INSTALLED_APPS = [
|
|||
'django.contrib.redirects',
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.comments',
|
||||
'django.contrib.admin.apps.SimpleAdminConfig',
|
||||
'django.contrib.admindocs',
|
||||
'django.contrib.staticfiles',
|
||||
|
|
@ -126,16 +125,6 @@ def setup(verbosity, test_labels):
|
|||
handler = logging.StreamHandler()
|
||||
logger.addHandler(handler)
|
||||
|
||||
warnings.filterwarnings(
|
||||
'ignore',
|
||||
'django.contrib.comments is deprecated and will be removed before Django 1.8.',
|
||||
RemovedInDjango18Warning
|
||||
)
|
||||
warnings.filterwarnings(
|
||||
'ignore',
|
||||
'Model class django.contrib.comments.models.* Django 1.9.',
|
||||
RemovedInDjango19Warning
|
||||
)
|
||||
# Load all the ALWAYS_INSTALLED_APPS.
|
||||
django.setup()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue