title: Store multiple Values in one session variable in django
body: <p>I want to store college IDs in a session variable that each ID should get stored in same session. i want it when user click on ADD button. so whenever the ADD button would be clicked that ID Should get stored in <code>choice</code> session variable.</p>
  
  <p>here is what i have tried.</p>
  
  <p><strong>views.py</strong> </p>
  
  <pre><code>def my_choices(request, cid):  # when user is making the choices
      clg = college.objects.all()
      title = "Choice Filling"
      page = "Choice Filling"
      stud = student.objects.get(id=request.session['id'])
      clgid = college.objects.get(id=cid)
      choice_list = []
      if stud.isactive != 1:
          messages.error(request, "Your registration process is incomplete.")
      else:
          choice_list.insert(len(choice_list), clgid.name)
          print(choice_list)
          request.session['choices'] = choice_list
  
      return render(request, 'college_list.html', {'cid': cid, 'clg': clg, 'title': title,
                                                   'choice':choice_list})
  </code></pre>
  
  <p><strong>models.py</strong></p>
  
  <pre><code>class college(models.Model):
      name = models.CharField(max_length=50)
      password = models.CharField(max_length=10)
      institute_code = models.IntegerField(unique=True)
  
  class student(models.Model):
      fullname = models.CharField(max_length=50)
      password = models.CharField(max_length=10)
      email = models.EmailField(unique=True)
  </code></pre>
  
  <p>I want to store <code>cid</code> for every click in <code>choice_list</code> but it's not storing multiple values, instead it overrides the previous value and store new every time. i tried <code>choice_list.insert(..)</code> also but nothing happens.</p>