The following Django 3 code
print("trying to add doc") db.collection(\'col_name\').document(\'doc_name\').set({\'test_field\':1}) print("doc added&