title: How can you create a non-empty CharField in Django?
body: <p>I have a simple model which looks like this:</p>
  
  <pre><code>class Group(models.Model):
      name = models.CharField(max_length = 100, blank=False)
  </code></pre>
  
  <p>I would expect this to throw an integrity error, but it does not:</p>
  
  <pre><code>group = Group() # name is an empty string here
  group.save()
  </code></pre>
  
  <p>How can I make sure that the name variable is set to something non-empty? I.e to make the database reject any attempts to save an empty string?</p>