title: Redirect to same view with some context
body: <p>I am trying to redirect to a url along with some context data via my views. How can I do that?</p>
  
  <p>Urls:
  Project urls.py :</p>
  
  <pre><code>url(r'^employee/(?P&lt;emp_code&gt;[0-9a-zA-Z-_@.\s]+)/', include('apps.organisation_roles.urls',namespace='organisation_roles')),
  </code></pre>
  
  <p>organisation_roles/urls.py:</p>
  
  <pre><code>url(r'^reward-employee/$', RewardEmployee.as_view(), name='reward_employee'),
  </code></pre>
  
  <p>views:</p>
  
  <pre><code>def post(self, request, document=None, *args, **kwargs):
  admin_user_id = OrganisationUser.objects.get(organisation_employees=request.user.organisation_user).pk
              Notification.objects.create_and_send(notification_type='ON', send_sms=False, user_id=admin_user_id,
                                                   additional_dict={
                                                       "organisation_name": request.user.organisation_user.organisation.get_name(),
                                                       "message": "You are currently low on gems and your employees are wishing to reward other employees. Please purchase more gems to continue using our services."})
  #return render(request,"reward_employee.html",{"alert": "Not enough gems. You cannot reward at present. Contact your organisation."})
          return HttpResponseRedirect(reverse('organisation_roles:reward_employee',kwargs={'emp_code':self.kwargs['emp_code'],"alert": "Not enough gems. You cannot reward at present. Contact your organisation."}))
          #response = HttpResponseRedirect(request.path)
          #response.set_cookie('alert', 'Not enough gems. You cannot reward at present. Contact your organisation.')
          #return HttpResponseRedirect(request.path)
  </code></pre>
  
  <p>Template:</p>
  
  <pre><code>&lt;script&gt;
  {% if alert %}
              alert("{{ alert }}");
          {% endif %}
  &lt;/script&gt;
  </code></pre>
  
  <p>Instead of 'reward_employee.html', I want to give url to my view.</p>