title: Django Rest Framework pre-populate form with specific queryset
body: <p>Basically in a popup (bootstrap) I would like to have all specified pre-populated fields from my model.</p>
  
  <p>I found this code (<a href="https://groups.google.com/forum/#!searchin/django-rest-framework/HTMLFormRenderer/django-rest-framework/s24WFvnWMxw/hhmaD6Qw0AMJ" rel="nofollow">https://groups.google.com/forum/#!searchin/django-rest-framework/HTMLFormRenderer/django-rest-framework/s24WFvnWMxw/hhmaD6Qw0AMJ</a>)</p>
  
  <pre><code>class CreatePerformanceForm(forms.ModelForm):
      model = Performance
      fields = ('field1', 'field2')
  
  class PerformanceCreateView(ListCreateAPIView): 
      serializer_class = PerformanceCreateSerializer
      model = Performance
      template_name = 'core/perform.html'
  
      def get(self, request, format=None):
          data = {'
              form': CreatePerformanceForm()
          }
          return Response(data)
  </code></pre>
  
  <p>My question is the same.
  Is there a way to create the form directly from the serializer so I don't have to create a Django form? </p>
  
  <p>I looked at HTMLFormRenderer, but the DRF doc is quiet poor about this issue.</p>
  
  <p>Thanks,</p>
  
  <p>D</p>