﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4407	Sitemaps documentation should mention dispatchers	orestis@…	nobody	"In the sitemap documentation there is a suggestion that a good place to call ping_google() is in a models save method. This should be changed to mention dispatchers, as it is far more ""correct"" to connect to the post_save signal to ping google, instead of doing so in save_methods.

Example: 
{{{
from django.db.models import signals
from django.dispatch import dispatcher
def ping(sender, args, kwargs):
    try:
         ping_google()
    except Exception:
         pass

dispatcher.connect(ping, sender=Entry, signal=signals.post_save)

}}}
"		closed	Documentation	dev		worksforme			Unreviewed	0	0	0	0	0	0
