Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#18074 closed Uncategorized (fixed)

Seems like there is a misprint in the “django-admin.py and manage.py” section

Reported by: aruseni Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The same phrase is in description for both dumpdata and loaddata commands:

The --database option can be used to specify the database onto which the data will be loaded.

https://docs.djangoproject.com/en/dev/ref/django-admin/

This is also applicable to the internal help of the dumpdata command prior to Django 1.4.

python manage.py help loaddata
python manage.py help dumpdata

In Django 1.3.1, output of these two commands contained this phrase:

Nominates a specific database to load fixtures into. Defaults to the "default" database.

So, I think the documentation for the dumpdata command should be updated to look something like this:

The --database option can be used to specify the database from which the data will be dumped.

Change History (2)

comment:1 by Ramiro Morales, 12 years ago

Resolution: fixed
Status: newclosed

In [17873]:

Fixed #18074 -- Fixed description of dumpdata command --database option.

Thanks aruseni for the report.

comment:2 by Ramiro Morales, 12 years ago

In [17874]:

[1.4.X] Fixed #18074 -- Fixed description of dumpdata command --database option.

Thanks aruseni for the report.

Backport of r17873 from trunk.

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