title: Django extended user model doesn't have extended attributes
body: <p>I am extending the default User model in this way</p>
  <h1>models.py</h1>
  <pre><code>from django.db import models
  from django.contrib.auth.models import User
  
  class Profile(User):
      city = models.CharField(max_length = 60)
      company = models.CharField(max_length = 100)
  
      def __str__(self):
          return self.username
  </code></pre>
  <p>I am registering the user with the following view.</p>
  <pre><code>class ProfileFormView(View):
      form_class = UserForm
      template_name = 'register.html'
  
      # Display empty form
      def get(self, request):
          form = self.form_class(None)
          return render(request, self.template_name, {'form': form})
  
      # Process user data and add to DB.
      def post(self, request):
          form = self.form_class(request.POST)
  
          if form.is_valid():
              user = form.save(commit = False)
  
              # clean form data.
              username = form.cleaned_data['username']
              password = form.cleaned_data['password']
              user.city = form.cleaned_data['city']
              user.company = form.cleaned_data['company']
              user.set_password(password)
              user.save()
  
              # returns User object if credentials are correct
              user = authenticate(username= username, password = password)
  
              if user is not None:
  
                  if user.is_active:
                      login(request, user)
  
                      return render(request, 'profile.html', {})
  
          return render(request, self.template_name, {'form': form})
  </code></pre>
  <p>as you can see I redirect to profile.html once Submit is pressed on the registration page the view function I call in the form's action is as follows</p>
  <pre><code>def home(request):
      all_users = Profile.objects.all()
      city = request.user.city # this line throws error
      return render(request, 'profile.html', {'city': city,'login_user': request.user, 'all_users': all_users})
  
  Exception Value: 'User' object has no attribute 'city'
  </code></pre>
  <p>but I am not able to access the city of the User error is thrown in the line marked above. What am I doing wrong. Thank You</p>