Skip to content

Use users as "individuals" rather than having a separate model #173

@Frewacom

Description

@Frewacom

Each nation can have a selected few individuals that are important and should be visible on their nation page. Currently, these "individuals" are a separate model that contains much of the same information as the users. My suggestion would be to simply remove the existing individual model (and most of the existing routes) and instead use the already existing user models.

Solution

  • Remove the individuals model
  • Add a new field to the user model that contains a short personal description (this can be changed from their profiles of the admin interface)
  • Add new routes that allows us to add and remove users from a list of selected users. The users in this list will be shown in the nation page
  • Consider limiting the amount of users in the list (e.g. 5-10)

Metadata

Metadata

Assignees

Labels

apiImprovement or changes to the APIfeatureNew featureimprovementImprovements to existing code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions