title: Django optional view parameter with HttpResponseRedirect
body: <p>So I have a view that grabs a person's info from a query and returns the info to the page:</p>
  
  <pre><code>def film_chart_view(request, if_random = False):
  </code></pre>
  
  <p>I also have a view that randomly grabs a person's info and redirects it to the above view:</p>
  
  <pre><code>def random_person(request):
           .
           .
        return HttpResponseRedirect(reverse('home.views.film_chart_view')+"?q="+get_person.short)
  </code></pre>
  
  <p>However, I want the first view to recognize if it came from the second view, so that if it is, it sets the if_random parameter to True, but I'm not exactly sure how to do that. </p>
  
  <p>my urls:</p>
  
  <pre><code>url(r'^film_chart_view/$', 'home.views.film_chart_view'),
  url(r'^random/$', 'home.views.random_person'),
  </code></pre>