0

I'm new to django session. If I have pieces of information extracted in one page view such as this

    if 'editEntry' in request.POST:

        values = request.POST['editEntry']
        values = values.split(',')
        id_num = values[0]
        first_name = values[1]
        last_name = values[2]
        country = values[3]
        city = values[4]
        salary = values[5]

        return redirect('/edit')

Is there a way to send those variable information to another webpage? Also what would the template language be to call on a variable like id_num in the html file.

Ajay Shah
  • 101
  • 4
  • 14

0 Answers0