From abaf0ab4a444977dc8ac07b9b63256814c352245 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 9 Nov 2017 21:21:43 -0500 Subject: [PATCH] Fixed #28777 -- Clarified the docs for admin.register's args. --- docs/ref/contrib/admin/index.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 05f0bfcbbc..76b427c473 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -123,9 +123,9 @@ The ``register`` decorator class AuthorAdmin(admin.ModelAdmin): pass - It is given one or more model classes to register with the ``ModelAdmin`` - and an optional keyword argument ``site`` if you are not using the default - ``AdminSite``:: + It's given one or more model classes to register with the ``ModelAdmin``. + If you're using a custom :class:`AdminSite`, pass it using the ``site`` keyword + argument:: from django.contrib import admin from .models import Author, Reader, Editor