I have a list of jobs, each being part of a group:
class Job(models.Model):
name = models.CharField(max_length = 200)
group = models.CharField(max_length = 200)
How can I display a SelectField
, in which groups appear highlighted and corresponding jobs are listed below?
I have seen this this post which my be a first step, but I would like more details.
thanks