How to store Google credentials in Django model

132 Views Asked by At

How I can store Google credentials in Django model without using oaut2client -> DjangoORMStorage?

Old version with using oaut2client:

    storage = Storage(models.GoogleCred, 'act', act, 'credential')
    storage.put(credentials)

But oaut2client does not support Django>=2.0

0

There are 0 best solutions below