I am using a django formset containing forms that specify user friendship preferences.
My form fields are:
siteuser_id = forms.IntegerField(widget=forms.HiddenInput())
subscribed = forms.BooleanField(required=False)
ally = forms.BooleanField(required=False)
enemy = forms.BooleanField(required=False)
The goal is to display all of a person's friends and that person's status within the game.
When I display the forms in the formset, I'd like to display the nickname (nicknames are not unique or I would just use it instead of siteuser_id) of the person alongside the friendship preference for that person.
I tried making username a form field, but that makes it editable, and I just want it to display within the table, not be editable.
Help?