Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#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 Changed 5 years ago by Yaşar Arabacı

Easy pickings: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

comment:2 Changed 5 years ago by Preston Holmes

Needs documentation: set
Triage Stage: UnreviewedAccepted
Type: UncategorizedNew feature

comment:3 Changed 4 years ago by anonymous

Owner: changed from nobody to vanessagomes

comment:4 Changed 4 years ago by anonymous

Owner: changed from vanessagomes to nobody

comment:5 Changed 4 years ago by Florian Apolloner

Resolution: wontfix
Status: newclosed

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)

comment:6 Changed 4 years ago by Aymeric Augustin

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.

Last edited 4 years ago by Aymeric Augustin (previous) (diff)
Note: See TracTickets for help on using tickets.
Back to Top