You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current model is great, but when I encounter things like facebook access tokens that expire, I need to store the datetime that the tokens expire so I can query them and extend them. I don't want to store this in the extra_data field because it's stored as a text field and is not queryable. This would allow me to leverage the existing model and just add the extra fields that are needed.
The request here is to make an abstract version of django's
UserSocialAuth
model so it can be extended:The current model is great, but when I encounter things like facebook access tokens that expire, I need to store the datetime that the tokens expire so I can query them and extend them. I don't want to store this in the
extra_data
field because it's stored as a text field and is not queryable. This would allow me to leverage the existing model and just add the extra fields that are needed.The change for this is super trivial:
The change is passive for others and lets people leverage the existing work done for the UserSocialAuth model.
Then people can easily create their own versions of the
UserSocialAuth
model:@omab, thoughts?
The text was updated successfully, but these errors were encountered: