title: get all fields in UpdateView django
body: <p>Is it possible to get all the fields from a given <code>model</code> without writing list of all the fields in the <code>view.py</code> file when working with <code>UpdateView</code> in class-based views?</p>
  
  <pre><code>class UserProfileEditView(UpdateView):
      model = UserProfile
      fields = ['first_name', 'last_name', 'email', 'level', 'course', 'country', 'title', 'avatar', 'icon', 'instagram']
      slug_field = 'username'
      template_name = 'profile.html'
      context_object_name = 'User'
  </code></pre>
  
  <p>What I mean is instead of writing all the fields in a list (e.g 'first_name', 'last_name'... etc.), can I use something to get all of the fields from given model.</p>