Consider the following situation: -
Suppose my app allows users to create the states / provinces in their country. Just for clarity, we are considering only ASCII ch
a very simple solution:
class State(models.Model): name = models.CharField(max_length=50, unique=True) def clean(self): self.name = self.name.capitalize()