archive
/
md-pdf
Archived
1
Fork 0

Add render date to context

This commit is contained in:
Jake Howard 2017-05-25 20:36:23 +01:00
parent 6f8aa6ee09
commit b242657df7
1 changed files with 3 additions and 1 deletions

View File

@ -1,11 +1,13 @@
from md_pdf.consts import TEMPLATES_DIR, STATIC_DIR
from word_count import word_count
from md_pdf.utils import get_plain_text
from datetime import datetime
EXTRA_CONTEXT = {
'templates_dir': TEMPLATES_DIR,
'static_dir': STATIC_DIR
'static_dir': STATIC_DIR,
'date': datetime.now()
}