Changed to use doc.canonical_name instead of doc.name when computing the cache key for htmlized documents in order to trigger a new generation when a draft goes to RFC.
- Legacy-Id: 13170
This commit is contained in:
parent
1fa17b4913
commit
1ef2450b6c
|
@ -52,7 +52,7 @@
|
|||
{% endcomment %}
|
||||
|
||||
{% with 1209600 as two_weeks %}
|
||||
{% cache two_weeks htmlized doc.name doc.rev using="htmlized" %}
|
||||
{% cache two_weeks htmlized doc.canonical_name doc.rev using="htmlized" %}
|
||||
<div>
|
||||
{{ doc.htmlized|default:"Generation of htmlized text failed"|safe }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue