Hi,
we are in the process of converting our MySQL DB to MongoDB (via
pymongo).

We have already convert the auth_user table.
Now we want to change the auth connection from
auth = Auth(globals(), db)
to
auth = Auth(globals(), mongo)

but we get this error:
TypeError: 'Collection' object is not callable. If you meant to call
the 'Table' method on a 'Database' object it is failing because no
such method exists.

Is there any way that the auth supports Collections and not only
tables?

Reply via email to