Ticket #25166: 25166.diff

File 25166.diff, 756 bytes (added by Tim Graham, 7 years ago)
  • docs/topics/auth/default.txt

    diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
    index 925f8a3..2944798 100644
    a b These permissions will be created when you run :djadmin:`manage.py migrate 
    205205will be created for all previously-installed models, as well as for any new
    206206models being installed at that time. Afterward, it will create default
    207207permissions for new models each time you run :djadmin:`manage.py migrate
    208 <migrate>`.
     208<migrate>` (the function that creates permissions is connected to the
     209:data:`~django.db.models.signals.post_migrate` signal).
    209210
    210211Assuming you have an application with an
    211212:attr:`~django.db.models.Options.app_label` ``foo`` and a model named ``Bar``,
Back to Top