#16951 closed New feature (wontfix)
Example for dumpdata of permissions
Reported by: | googol | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.3 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | yes |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Would be great if you could provide an example for dumpdata of permissions at:
https://docs.djangoproject.com/en/dev/ref/django-admin/#django-admin-option---natural
e.g.: ./manage.py dumpdata contenttypes auth >fixtures/permission.json --indent 4 --natural
Change History (6)
comment:1 by , 13 years ago
Easy pickings: | set |
---|
comment:2 by , 13 years ago
Needs documentation: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → New feature |
comment:3 by , 13 years ago
Owner: | changed from | to
---|
comment:4 by , 13 years ago
Owner: | changed from | to
---|
comment:5 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:6 by , 13 years ago
Also, dumping permissions doesn't make sense — at least for the most common use case, ie. to loaddata
later on — because they're automatically created by syncdb
.
Note:
See TracTickets
for help on using tickets.
How to use options for programs should be common knowledge and isn't something which has to be documented for every option. (Especially since --natural isn't in any way special in it's usage)