summaryrefslogtreecommitdiff
path: root/django/template
diff options
context:
space:
mode:
authorPreston Timmons <prestontimmons@gmail.com>2015-01-05 14:43:15 -0600
committerTim Graham <timograham@gmail.com>2015-01-05 19:35:02 -0500
commitde9ebdd39cb4f4b65475b43e0e32772d5a315654 (patch)
treea1829e7865df451879a52f3dfda2affc18453809 /django/template
parenta9aec1154e5b65fcaf608801905a1bbafcfbfbf7 (diff)
Fixed #24022 -- Deprecated the ssi tag.
Diffstat (limited to 'django/template')
-rw-r--r--django/template/defaulttags.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py
index edd8260aad..7085e04cdb 100644
--- a/django/template/defaulttags.py
+++ b/django/template/defaulttags.py
@@ -1088,6 +1088,11 @@ def ssi(parser, token):
{% ssi "/home/html/ljworld.com/includes/right_generic.html" parsed %}
"""
+ warnings.warn(
+ "The {% ssi %} tag is deprecated. Use the {% include %} tag instead.",
+ RemovedInDjango20Warning,
+ )
+
bits = token.split_contents()
parsed = False
if len(bits) not in (2, 3):