Opened 16 years ago

Closed 16 years ago

#7914 closed (fixed)

"ping_google" not a aviable as subcommand in manage.py

Reported by: bernd Owned by: nobody
Component: Contrib apps Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

On the documentation there is an example for using the "pinging-google-via-manage", but the subcommand "ping_google" doesn't exist in manage.py.

http://www.djangoproject.com/documentation/sitemaps/#pinging-google-via-manage-py

$ python manage.py ping_google [/sitemap.xml]
Unknown command: 'ping_google'
Type 'manage.py help' for usage.

Change History (3)

comment:1 by andreas@…, 16 years ago

Same here, the problem is most likely missing init.py files:

django/contrib/sitemaps/management/init.py
django/contrib/sitemaps/management/commands/init.py

I don't attach a patch since I do not think it would help out very much.

comment:2 by Karen Tracey <kmtracey@…>, 16 years ago

Triage Stage: UnreviewedAccepted

I can confirm adding the __init__.py files allows the ping_google command to be found by manage.py.

comment:3 by Russell Keith-Magee, 16 years ago

Resolution: fixed
Status: newclosed

(In [8062]) Fixed #7914 -- Added some missing init.py files that were missed when the ping_google command was added. Thanks to bernd for the report.

Note: See TracTickets for help on using tickets.
Back to Top