title: How do I set initial data on a Django class based generic createview with request data
body: <p>I used Django's generic createview for my model</p>
  
  <pre><code>from myproject.app.forms import PersonForm
  class PersonMixin(object):
      model = Person
      form_class = PersontForm
  
  class PersonCreateView(PersonMixin, CreateView):
      pass
  </code></pre>
  
  <p>This works perfectly for displaying a create view of Person with my custom form. However, I have a field in the form that I want to pre-populate with a value. I found this answer: <a href="https://stackoverflow.com/questions/11096617/set-initial-value-to-modelform-in-class-based-generic-views">Set initial value to modelform in class based generic views</a></p>
  
  <p>However, my pre-populated value comes from the profile for request.user. How do I access the request in PersonCreateView and pass that to the form?</p>