Juan Carlos 5 жил өмнө
parent
commit
160218f6f0

+ 1 - 1
marktplatz/signals.py

@@ -39,6 +39,6 @@ def search_agent(sender, instance, update_fields=None, **kwargs):
                         config.EMAIL_NOREPLY,
                         config.EMAIL_NOREPLY,
                         context = context,
                         context = context,
                         template='generic',
                         template='generic',
-                        headers={  'Reply-To': agent.email },
+                        headers={  'Reply-To': instance.email },
                         priority='medium',
                         priority='medium',
                     )
                     )

+ 1 - 1
requirements.txt

@@ -12,7 +12,7 @@ django-countries==5.5
 django-simple-captcha==0.5.12
 django-simple-captcha==0.5.12
 django-multiselectfield==0.1.12
 django-multiselectfield==0.1.12
 django-debug-toolbar==3.1.1
 django-debug-toolbar==3.1.1
-django-post_office==3.5.0
+django-post_office==3.5.2
 django-fullurl==1.1
 django-fullurl==1.1
 sorl-thumbnail==12.6.3
 sorl-thumbnail==12.6.3
 django-newsletter==0.9.1
 django-newsletter==0.9.1