2👍
Try this with initial
forms.CharField(widget=forms.TextInput(attrs={'placeholder': self.project_name }), initial=self.project_name)
OR
form = EditProjectForm(#your arguments, initial={'project_name': self.project_name})
Source:stackexchange.com