Complete the code to exclude all users with the username 'admin'.
users = User.objects.[1](username='admin')
The exclude() method returns a queryset excluding the records that match the condition.
Complete the code to exclude all posts that are published.
posts = Post.objects.[1](status='published')
exclude() removes posts with status='published' from the queryset.
Fix the error in the code to exclude comments that are marked as spam.
comments = Comment.objects.[1](is_spam=True)
Using exclude(is_spam=True) returns comments that are not spam.
Fill both blanks to exclude all products that are either out of stock or discontinued.
products = Product.objects.[1](stock=0).[2](discontinued=True)
Chaining exclude() calls removes products with stock=0 and those discontinued.
Fill all three blanks to exclude users who are staff, inactive, or have the role 'guest'.
users = User.objects.[1](is_staff=True).[2](is_active=False).[3](role='guest')
Chaining exclude() removes users matching any of the unwanted conditions.
