title: 'str' object has no attribute 'META' error while creating a ModelForm in django
body: <p>I'm trying to create a ModelForm with the following code snippet. I get this error "'str' object has no attribute 'META'". Why is that? Thanks</p>
  
  <p>In my_app/forms.py</p>
  
  <pre><code>from django.contrib.auth.models import User
  from django.forms import ModelForm
  class UserProfileForm(ModelForm):
        class Meta:
              model = User
  </code></pre>
  
  <p>In may_app/views.py</p>
  
  <pre><code>def u(request):
      form = UserProfileForm()
      return render('/projects/templates/form.html',{'form':form})
  </code></pre>