Urllib2.HTTPError: HTTP error 400: Bad request - django ping_google

I am trying to ping google to update sitemaps, but I am getting

urllib2.HTTPError: HTTP Error 400: Bad Request

      

when i do

python manage.py ping_google [/my-sitemaps.xml]

      

any ideas how to fix this?

+3


source to share


1 answer


The command must be: (no brackets)



python manage.py ping_google /my-sitemaps.xml

      

+1


source







All Articles