Website.set_current_user_data#

Website.set_current_user_data(key, value)#

Sets data specific to the currently signed in user in the database.

Parameters:
  • key (str) – The key (name) of the data. For example: “username”, “email”, “age”, etc.

  • value (Any) – The value of the data.

Returns:

True if the data is set, and False if it is not set.

Return type:

bool