django empty object code example Example 1: django empty queryset Model.objects.none() Example 2: maek empty querytset MyModel.objects.none()