mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
c1a82dad9d
While rendering the tempaltes the link.lnurl() function was not found as no request object was passed. Compute the lnurl before rendering the template. This way we can avoid computing it multiple times and do not to have to pass the request object in the template. |
||
---|---|---|
.. | ||
core | ||
extensions | ||
static | ||
templates | ||
utils | ||
wallets | ||
__init__.py | ||
__main__.py | ||
app.py | ||
auth_bearer.py | ||
bolt11.py | ||
commands.py | ||
db.py | ||
decorators.py | ||
helpers.py | ||
jinja2_templating.py | ||
lnurl.py | ||
proxy_fix.py | ||
requestvars.py | ||
settings.py | ||
tasks.py |