mirror of
https://github.com/django/django.git
synced 2025-10-28 08:06:09 +00:00
Fixed #24022 -- Deprecated the ssi tag.
This commit is contained in:
committed by
Tim Graham
parent
a9aec1154e
commit
de9ebdd39c
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user