(user, domain)
Hit the saved reports views so stale=update_after doesn't cause the user to
    see old or deleted data after a change when they next load the reports
    homepage.
Hit the saved reports views so stale=update_after doesn't cause the user to
    see old or deleted data after a change when they next load the reports
    homepage.
Hit the saved reports views so stale = update_after doesn t cause the user to see old or deleted data after a change when they next load the reports homepage .
def touch_saved_reports_views(user, domain):
    """
    Hit the saved reports views so stale=update_after doesn't cause the user to
    see old or deleted data after a change when they next load the reports
    homepage.

    """
    ReportConfig.by_domain_and_owner(domain, user._id, limit=1, stale=False)
    ReportNotification.by_domain_and_owner(domain, user._id, limit=1, stale=False)
def touch_saved_reports_views ( user , domain ) : ReportConfig . by_domain_and_owner ( domain , user . _id , limit = 1 , stale = False ) ReportNotification . by_domain_and_owner ( domain , user . _id , limit = 1 , stale = False )