I am wondering if there is a way to use a list that is stored in a foreignkey as the choices for a charfield.
Here is what I have right now but it is not working.
priority = models.ForeignKey(SLAs)
prioritylevel = models.CharField(choices=priority.details)
It says that the ForeignKey has no attribute 'details'
If this has been answered, please point me the correct direction.
Thanks :)