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 , 16 years ago
comment:2 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
I can confirm adding the __init__.py
files allows the ping_google command to be found by manage.py.
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.