Opened 13 years ago

Closed 12 years ago

Last modified 12 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 by Yaşar Arabacı, 13 years ago

Easy pickings: set

comment:2 by Preston Holmes, 13 years ago

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

comment:3 by anonymous, 12 years ago

Owner: changed from nobody to vanessagomes

comment:4 by anonymous, 12 years ago

Owner: changed from vanessagomes to nobody

comment:5 by Florian Apolloner, 12 years ago

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 by Aymeric Augustin, 12 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.

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