Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What does the Django admin's list_display option do?

  1. A Filters the queryset
  2. B Controls which fields appear as columns in the change list
  3. C Sets the page title
  4. D Restricts editing permissions
Answer

Controls which fields appear as columns in the change list

list_display accepts model fields, callables and model methods. list_filter and search_fields add filtering and search to the same view.

All Django MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as