1
0
mirror of https://github.com/django/django.git synced 2025-01-10 18:36:05 +00:00

Fixed typo in docs/ref/contrib/admin/index.txt

This commit is contained in:
Tim Graham 2015-10-26 09:03:04 -04:00
parent d6a9074783
commit e0c0080e29

View File

@ -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 = (