[Answered ]-Show field in template but dont allow it to be edited (Django)

1👍

As mentioned by @Melvyn, you dont’t need to pass name to the form. Just pass it as a variable to your template, then create a read only input field and customize it as you want:

<input value="{{ name }}" readonly/>

Leave a comment