Which is the correct way to allow empty value in CharField?
Correct Answer: models.CharField(max_length=10, blank=True, null=True)
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Django Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Django MCQ Questions
Which is a possible usage of middlewares in Django?
Which is built-in signal provided by Django?
Which will not register a model 'Test' to Django admin?
Which is NOT correct about Django Models?
What is the exception raised when the object is not found while performing the following query?
Name of the command line tool that Django provides for managing a newly created project and its applications?
Which is not true about testing?
Which command runs all test in a django project?
What kind of relation is defined between models A and B by invoking ForeignKey(A) in the class definition for model B?
Which is not True?