Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ticket #18054 -- Add deprecation note for contrib.markup #170

Closed
wants to merge 1 commit into from

2 participants

Simonas Kazlauskas Tim Graham
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jun 23, 2012
Simonas Kazlauskas Add deprecation note for contrib.markup (Ticket #18054) 47d181f
This page is out of date. Refresh to see the latest.
4  django/contrib/markup/__init__.py
... ...
@@ -0,0 +1,4 @@
  1
+import warnings
  2
+
  3
+warnings.warn("contrib.markup is deprecated as of 1.5",
  4
+              PendingDeprecationWarning)
3  docs/ref/contrib/markup.txt
@@ -5,6 +5,9 @@ django.contrib.markup
5 5
 .. module:: django.contrib.markup
6 6
    :synopsis: A collection of template filters that implement common markup languages.
7 7
 
  8
+.. deprecated:: 1.5
  9
+    This module has been deprecated.
  10
+
8 11
 Django provides template filters that implement the following markup
9 12
 languages:
10 13
 
10  docs/releases/1.5.txt
@@ -180,3 +180,13 @@ our own copy of ``simplejson``. You can safely change any use of
180 180
 
181 181
 The :func:`~django.utils.itercompat.product` function has been deprecated. Use
182 182
 the built-in :func:`itertools.product` instead.
  183
+
  184
+``django.utils.markup``
  185
+~~~~~~~~~~~~~~~~~~~~~~~
  186
+
  187
+Recent security issues and bugs has been a reminder that Django is not a markup
  188
+framework, but a web framework and should continue shedding contrib modules that
  189
+are:
  190
+
  191
+* not core to the usage of the framework
  192
+* poorly tested and/or documented
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.