Let's see whether you can answer the following questions correctly:
- Which of the following lines define a field named title in a model that will generate a unique constraint on this field?
- title = django.db.models.CharField(max_length=250, unique=True)
- title = django.db.models.UniqueCharField(max_length=250)
- title = django.db.models.CharField(max_length=250, options=django.db.models.unique_constraint)
- Which of the following lines define a field named title in a model that won't generate a unique constraint on this field?
- title = django.db.models.CharField(max_length=250, unique=False)
- title = django.db.models.NonUniqueCharField(max_length=250)
- title = django.db.models.CharField(max_length=250, options=django.db.models.allow_duplicates) ...