Corrected admin.register() signature in docs.

This commit is contained in:
Andrzej Bartosiński 2020-07-29 12:53:11 +02:00 committed by GitHub
parent 95da207bdb
commit eb215da363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ Other topics
The ``register`` decorator
--------------------------
.. function:: register(*models, site=django.admin.sites.site)
.. function:: register(*models, site=django.contrib.admin.sites.site)
There is also a decorator for registering your ``ModelAdmin`` classes::