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
SPIDERMON_REPORT_CONTEXT defined in settings.py file does not have any effect on email reports, we need to subclass SendSESEmail and add 'context' attribute explicitly.
Fixed in #53 . Note that I've added a separate setting (SPIDERMON_EMAIL_CONTEXT) since it might be useful to use different contexts for each action (email vs. report). You should be able to get rid of the custom subclass and just add this setting to your project settings: SPIDERMON_EMAIL_CONTEXT = { 'report_title': 'My Custom Title', 'show_job_button': True}
SPIDERMON_REPORT_CONTEXT
defined in settings.py file does not have any effect on email reports, we need to subclassSendSESEmail
and add 'context' attribute explicitly.SPIDERMON_REPORT_CONTEXT = { 'report_title': 'ABC Spiders Report' , 'show_job_button': True }
The text was updated successfully, but these errors were encountered: