Fixed typo in docs/ref/contrib/admin/index.txt
This commit is contained in:
parent
d6a9074783
commit
e0c0080e29
|
@ -922,8 +922,8 @@ subclass::
|
||||||
('is_staff', admin.BooleanFieldListFilter),
|
('is_staff', admin.BooleanFieldListFilter),
|
||||||
)
|
)
|
||||||
|
|
||||||
You can now limit the choices of a related model to the objects
|
You can limit the choices of a related model to the objects involved in
|
||||||
involved in that relation using ``RelatedOnlyFieldListFilter``::
|
that relation using ``RelatedOnlyFieldListFilter``::
|
||||||
|
|
||||||
class BookAdmin(admin.ModelAdmin):
|
class BookAdmin(admin.ModelAdmin):
|
||||||
list_filter = (
|
list_filter = (
|
||||||
|
|
Loading…
Reference in New Issue