We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d6fed4 commit 1e98833Copy full SHA for 1e98833
1 file changed
ietf/doc/models.py
@@ -443,15 +443,11 @@ def htmlized(self):
443
key = name.split('.')[0]
444
html = cache.get(key)
445
if not html:
446
- debug.say('cache miss for %s' % key)
447
# The path here has to match the urlpattern for htmlized
448
# documents in order to produce correct intra-document links
449
html = markup(text, path=settings.HTMLIZER_URL_PREFIX)
450
if html:
451
- debug.say('cache set for %s' % key)
452
cache.set(key, html, settings.HTMLIZER_CACHE_TIME)
453
- else:
454
- debug.say('cache hit for %s' % key)
455
return html
456
457
class Meta:
0 commit comments