diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt
index ac72147..29ba74d 100644
a
|
b
|
Arguments sent with this signal:
|
491 | 491 | The database alias used for synchronization. Defaults to the ``default`` |
492 | 492 | database. |
493 | 493 | |
494 | | For example, ``yourapp/management/__init__.py`` could be written like:: |
| 494 | For example, you could register a callback in an |
| 495 | :class:`~django.apps.AppConfig` like this:: |
495 | 496 | |
| 497 | from django.apps import AppConfig |
496 | 498 | from django.db.models.signals import post_migrate |
497 | | import yourapp.models |
498 | 499 | |
499 | 500 | def my_callback(sender, **kwargs): |
500 | 501 | # Your specific logic here |
501 | 502 | pass |
502 | 503 | |
503 | | post_migrate.connect(my_callback, sender=yourapp.models) |
| 504 | class MyAppConfig(AppConfig): |
| 505 | ... |
| 506 | |
| 507 | def ready(self): |
| 508 | post_migrate.connect(my_callback, sender=self) |
504 | 509 | |
505 | 510 | post_syncdb |
506 | 511 | ----------- |