You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, there are many hardcoded "weilsumwasgeht.at URLs in the mailtemplates (in templates/emails).
Consider replacing all hardcoded URLs by calls to Django's url tag (or a own tag). In addition, set global SITE_URL in settings.py and use to build urls in templates.
Also, remove hardcoded value from utils.make_absolute_url().
Quickfix: replace all hardcoded URLs by new hardcoded URLs ...
The text was updated successfully, but these errors were encountered:
(This is necessary since we probably move the app from weilsumwasgeht.at to mitmachen.vdb.at. Furthermore, it should be able to redeploy it to other hosts without changing all the templates.)
It's called from email templates that get generated outside a request context so it can't use Django's own url generation function. make_absolute_url needs a hard coded value, but it should indeed be moved to the settings, true.
At the moment, there are many hardcoded "weilsumwasgeht.at URLs in the mailtemplates (in templates/emails).
Consider replacing all hardcoded URLs by calls to Django's
url
tag (or a own tag). In addition, set global SITE_URL in settings.py and use to build urls in templates.Also, remove hardcoded value from utils.make_absolute_url().
Quickfix: replace all hardcoded URLs by new hardcoded URLs ...
The text was updated successfully, but these errors were encountered: