At least Django> = 1.7, the accepted answer is no longer the correct answer due to the introduction of "natural keys" as a serialization option.
For more information on natural keys, see the Django serialization documentation.
, ...
... Django , ; , . , , , .
, , auth_group_permissions, :
python manage.py dumpdata auth --natural-foreign --natural-primary -e auth.Permission
auth_permissions -e, migrate .
,