Django 2.x quiz medium level


Test description

This test evaluates your knowledge of the Django web framework and focuses on the backend side, such as middleware classes, request handling and Django models.
Topics: Django models, Views, Templates, Fixtures, testing, etc.

Sample questions

1 Given the following Django model: Choose the correct way to filter active users:

class User(models.Model):
    email = models.EmailField()
    first_name = models.CharField(max_length=255)
    last_name = models.CharField(max_length= 255)
    is_active = models.BooleanField(default=True)