optional fields in django models

django, model

Solution

Add the attribute `blank=True`. Optionally, you can also make the field NULLable with `null=True`.

Problem

I have the following model in django. ``` class Link(models.Model): name = models.CharField(max_length=100) url = models.CharField(max_length=100) tag = models.CharField(max_length=100) def __unicode__(self): return self.name ``` I need the url field to be optional. How do I do this?

Original source