title: Model's max_length field doesn't work on localhost
body: <p>My model has a CharField called title with a max_length set to 30.
  I have a parser that parses data to the database and when I use it all on my localhost I don't have any errors.</p>
  
  <p>After deploying, it happened there was an error:</p>
  
  <pre><code>django.db.utils.DataError: value too long for type character varying(30)
  </code></pre>
  
  <p>I found that it's trying to insert value that has 35 characters but this error doesn't appear on my localhost. I tried using shell and I managed to add a field that had 60 characters. What's wrong?</p>
  
  <pre><code>class Coin(models.Model):
      symbol = models.CharField(max_length=20)
      title = models.CharField(max_length=30)
      created_at = models.DateTimeField(auto_now_add=True)
      updated_at = models.DateTimeField(auto_now=True)
  
      def __str__(self):
          return f'{self.title} ({self.symbol})'
  </code></pre>