X-Git-Url: https://git.mdrn.pl/django-migdal.git/blobdiff_plain/734cd58d3f12c5397b42c1ae122c947500386014..d3396d97c4c01ad696370486d46ffcc3288aecb9:/migdal/templates/migdal/mail/manager_new_entry.txt diff --git a/migdal/templates/migdal/mail/manager_new_entry.txt b/migdal/templates/migdal/mail/manager_new_entry.txt index 59703e2..d9db0a9 100644 --- a/migdal/templates/migdal/mail/manager_new_entry.txt +++ b/migdal/templates/migdal/mail/manager_new_entry.txt @@ -1,5 +1,5 @@ -{% load url from future %}W serwisie pojawił się nowy wpis. -http://localhost:8000{% url 'admin:migdal_entry_change' object.pk %} +W serwisie pojawił się nowy wpis. +http://{{ site.domain }}{% url 'admin:migdal_entry_'|add:object.type|add:'_change' object.pk %} Autor: {{ object.author|default_if_none:"" }} E-mail: {{ object.author_email|default_if_none:"" }}