Skip to content

Move account views & related resources into a separate Django app #13309

@jeremystretch

Description

@jeremystretch

Proposed Changes

Move the following resources to a new account app:

  • All user-specific views (profile, preferences, password change form, etc.)
  • URL patterns for user-specific views
  • The UserToken proxy model

Similarly, all templates for user-specific views shall be moved from templates/users/account/ to templates/account/.

Justification

Following on from #12590, it has become apparent that a separate app should be used to contain resources used exclusively for user account management. This will allow us to better organize user-specific views and their related resources from the conventional models under the users app. It will also better enable us to employ the UserToken proxy model for users to manage their own API tokens.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: housekeepingChanges to the application which do not directly impact the end user

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions