title: django REST framework does not work show new fields in a model
body: <p>I am new to Django, I am trying to achieve a Product Lookup module fetches data from MySQL responds to GET request.</p>
  
  <p>Here is my model</p>
  
  <p><strong>models.py</strong></p>
  
  <pre><code>class CNF_BRAND(models.Model):
      COMPANY_NAME = models.CharField(max_length=255)
      BRAND_NAME = models.CharField(max_length=255)
      BRAND_DESC = models.CharField(max_length=1024)  
  </code></pre>
  
  <p><strong>serializers.py</strong></p>
  
  <pre><code>class BrandSerializer(serializers.ModelSerializer):
      class Meta:
          model = CNF_BRAND
  </code></pre>
  
  <p><strong>GET response</strong></p>
  
  <pre><code>{
    "Status": "SUCCESS",
    "Brand": [
      {
        "COMPANY_NAME": "Test",
        "BRAND_NAME": "Test Brand",
        "BRAND_DESC": "Classic",
      }
    ]
  }
  </code></pre>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>response_data = {}
  
  brand=CNF_BRAND.objects.all() #Main Cone #Man Goods
  serializedProduct = BrandSerializer(brand, many=True)
  
  response_data['Brand'] = serializedProduct.data
  
  response = JsonResponse(response_data, status=status.HTTP_200_OK)
  return HttpResponse(response,content_type="application/json")
  </code></pre>
  
  <p>which works fine.</p>
  
  <p><strong>Updated Code</strong></p>
  
  <pre><code>class CNF_BRAND(models.Model):
      COMPANY_NAME = models.CharField(max_length=255)
      BRAND_NAME = models.CharField(max_length=255)
      BRAND_DESC = models.CharField(max_length=1024)  
      TITLE = models.CharField(max_length=21)
      FAV_ICON = models.URLField(max_length=1024)
  </code></pre>
  
  <p><strong>GET response</strong></p>
  
  <pre><code>{
    "Status": "SUCCESS",
    "Brand": [
      {
        "COMPANY_NAME": "Test",
        "BRAND_NAME": "Test Brand",
        "BRAND_DESC": "Classic",
      }
    ]
  }
  </code></pre>
  
  <p>No Change in the Get Response. I did </p>
  
  <p>python manage.py makemigrations</p>
  
  <p>python manage.py migrate</p>
  
  <p>restarted the django server multiple times</p>
  
  <p>I can see the new fields in database &amp; updated the field values. But unable to see the new fields in my response.</p>
  
  <p><strong>Updated</strong></p>
  
  <p>serializers.py</p>
  
  <pre><code>class BrandSerializer(serializers.ModelSerializer):
   PRODUCT = ProductSerializer(many=True)
    class Meta:
     model = CNF_BRAND
     fields = '__all__' 
  </code></pre>
  
  <p><strong>Print</strong></p>
  
  <p>Even though the above problem exists, i can print the corresponding values in console</p>
  
  <pre><code>print(brand[0].TITLE)
  print(brand[0].FAV_ICON)
  </code></pre>
  
  <p><strong>Console</strong></p>
  
  <pre><code>My Title
  https://www.google.co.in/images/branding/product/ico/googleg_lodp.ico
  </code></pre>
  
  <p>The response not received in Rest client</p>
  
  <p><strong>GET response</strong></p>
  
  <pre><code>{
    "Status": "SUCCESS",
    "Brand": [
      {
        "COMPANY_NAME": "Test",
        "BRAND_NAME": "Test Brand",
        "BRAND_DESC": "Classic",
      }
    ]
  }
  </code></pre>