Previous Page Next Page

Q&A

Q.Is there a way to limit the maximum number of items displayed inline in the admin interface?
A.Yes. You can add the max_num_in_admin and min_num_in_admin arguments to the model definition to limit the maximum and minimum number of objects that will be displayed inline in the admin interface.
Q.If I have a choice element that contains too many items to make a drop down box feasible, is there a way to set up the admin interface to request an int value representing object IDs?
A.Yes. You can add the raw_id_admin argument to the model definition to display an integer field requesting an object ID rather than a choice field.

Previous Page Next Page