Re: How to get a multiple select widget for the Admin without a queryset

2018-11-26 Thread Mike Dewhirst
On 27/11/2018 3:57 PM, shiva kumar wrote: Can you explain what ur problem briefly. In the Admin I show a list of substance names and against each one there can be a list of clickable links to public chemical databases. When the user clicks one of those links the database opens in a new browser

Re: How to get a multiple select widget for the Admin without a queryset

2018-11-26 Thread shiva kumar
Can you explain what ur problem briefly. On Tue 27 Nov, 2018 8:54 am Mike Dewhirst In the Admin I would like to provide the user with checkboxes against a > list of options not stored in the database. > > Specifically, I want to retrieve a comma separated list of integers from a > model field cho

How to get a multiple select widget for the Admin without a queryset

2018-11-26 Thread Mike Dewhirst
In the Admin I would like to provide the user with checkboxes against a list of options not stored in the database. Specifically, I want to retrieve a comma separated list of integers from a model field choices attribute. The model field looks like this:     menu_links = models.CharField(max_