show_title = forms.CharField(install={{ item.index_photo_title }}, required=True)
There is very little context here so I’ll try my best. The code that you’ve shared is not valid Python syntax. It looks like you’re trying to mix template syntax with a form class definition.
The forms documentation explains how to use initial values. I’d suggest reading that portion of the documentation.
1 Like