Fix notifications.
[django-migdal.git] / migdal / templates / migdal / mail / manager_new_entry.txt
index 59703e2..b468401 100644 (file)
@@ -1,5 +1,5 @@
 {% load url from future %}W serwisie pojawił się nowy wpis.
-http://localhost:8000{% url 'admin:migdal_entry_change' object.pk %}
+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:"" }}