Skip to content

Clean up get_account/set_account and usage of request.account in preparation for switching to request.user in Python #3598

@hmpf

Description

@hmpf

"request.account" needs to be switched out in favor of "request.user". By never accessing "request.account" directly in Python code but instead using the existing function get_account we can support both until the entire process is finished.

(Templates should go directly to request.user but depends on it having been set correctly everywhere first.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions