|
|
@ -93,7 +93,7 @@ class model(dict):
|
|
|
|
@property
|
|
|
|
@property
|
|
|
|
def link(self):
|
|
|
|
def link(self):
|
|
|
|
url = self.get('url', '')
|
|
|
|
url = self.get('url', '')
|
|
|
|
ready_url = ''
|
|
|
|
ready_url = url
|
|
|
|
if '{%' in url or '{{' in url:
|
|
|
|
if '{%' in url or '{{' in url:
|
|
|
|
from jinja2 import Environment
|
|
|
|
from jinja2 import Environment
|
|
|
|
# Jinja2 available in URLs along with https://pypi.org/project/jinja2-time/
|
|
|
|
# Jinja2 available in URLs along with https://pypi.org/project/jinja2-time/
|
|
|
|