'What is name and value attributes on a form Django

I am trying to find out what is name and value attributes in a form? On the example below what is the {{ current_name }} taken from in the form?

<form action="/your-name/" method="post">
<label for="your_name">Your name: </label>
<input id="your_name" type="text" name="your_name" value="{{ current_name }}">
<input type="submit" value="OK"></form>


Solution 1:[1]

The current_name variable will be taken from the current context that template is rendered with, which you define in the view function that renders this template.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Erik Kalkoken