satta sunder talukder
satta sunder talukder

Reputation: 61

Database error in django+mongodb objects.fiter with boolean field

I am using djongo library to handle mongodb, but still getting database error while filtering queryset using a boolean field.

Error: No exception message supplied, django.db.utils.DatabaseError

from django.contrib.auth import get_user_model
User = get_user_model()
users = User.objects.filter(isVerified=True)

Upvotes: 0

Views: 907

Answers (1)

amirbahador
amirbahador

Reputation: 121

first of all django is a backend framework not mongodb libraray secound of all you are using django orm which doesn't support noSQL databases right now django orm support only relational dbms for handle mongodb PyMongo is a good library

Upvotes: 0

Related Questions