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
There can be use cases where developers wish to store settings/metadata about a user specific to a client. (For example, theme name, styling, avatar, display name, etc.)
Few initial implementation ideas:
Provide an abstract UserClient model with user_id and client_id fields that developers could subclass.
Provide an UserClientSettings model with user_id, client_id, metadata = JsonField fields that developers can directly use.
There can be use cases where developers wish to store settings/metadata about a user specific to a client. (For example, theme name, styling, avatar, display name, etc.)
Few initial implementation ideas:
UserClient
model withuser_id
andclient_id
fields that developers could subclass.UserClientSettings
model withuser_id
,client_id
,metadata = JsonField
fields that developers can directly use.Model should provide a shortcut method:
More ideas welcome.
The text was updated successfully, but these errors were encountered: