title: How to extend the user model to add more fields to it
body: <p>I am using the default User model that django provides. But I would like to add more fields to it that are specific to my application. </p>
  
  <p>I've done the following but it doesn't seem to be working. I am trying to add a field called <code>company_name</code> and to test whether it works I try to update it using the rest API. </p>
  
  <p>last line of settings.py:</p>
  
  <pre><code>ROOT_URLCONF = 'demo.urls'
  WSGI_APPLICATION = 'demo.wsgi.application'
  ...
  AUTH_USER_MODEL = "demo.UserProfile"
  </code></pre>
  
  <p>Models.py:</p>
  
  <pre><code>from django.contrib.auth.models import AbstractUser
  from django.db import models
  
  class UserProfile(AbstractUser):
      company_name = models.CharField(max_length=50)
  </code></pre>
  
  <p>I'm not sure whether it is setting the company_name property but since it isn't returning it..I'm assuming what I've done doesn't work. </p>
  
  <p><img src="https://i.stack.imgur.com/Qiupz.png" alt="enter image description here"></p>