Skip to content

Conversation

@albertoleoncio
Copy link
Member

This pull request introduces support for specifying the language of a user's bio in the Profile model. This is achieved by adding a new foreign key field, about_language, that references the Language model. The changes include both the model update and the corresponding database migration.

Model and database schema changes:

  • Added a new about_language field to the Profile model as a foreign key to Language, allowing the language of the user's bio to be stored. This field is optional (null=True, default=None) and uses RESTRICT on delete. (users/models/profile.py, users/models/profile.pyR105-R112)
  • Created a migration to add the about_language field to the profile table in the database. (users/migrations/0034_profile_about_language.py, users/migrations/0034_profile_about_language.pyR1-R19)

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 5, 2026

@albertoleoncio albertoleoncio merged commit 6c9356e into dev Jan 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants