Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Merge branch 'master' into feature/username-suggestion-system

birjd00294b3ac683f62
diff --cc CHANGELOG.md
index 2589d777f,c228bb891..9ef9d2e88
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -13,7 -13,5 +13,10 @@@
the next refresh call. It's recommended to update your `prod.env` and set
`REFRESH_TOKEN_LIFETIME` to a value like 3000.
+* When a username is already taken during registration, the system now suggests available
+ alternatives. This replaces the default DRF UniqueValidator with a custom validator that
+ includes suggested usernames in the error response. Suggestions are supported in both the
+ serializer and web registration form validation.
++
+ * Exercise language are now also checked when performing edits, instead of only
+ during submission.