Skip to content

Default new routine weight units from the user profile - #2526

Open
whoalin1 wants to merge 2 commits into
wger-project:masterfrom
whoalin1:cursor/preselect-weight-units-ee7f
Open

whoalin1 wants to merge 2 commits into
wger-project:masterfrom
whoalin1:cursor/preselect-weight-units-ee7f

Conversation

@whoalin1

@whoalin1 whoalin1 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Fixes #2205 — default new SlotEntry/WorkoutLog weight_unit from owner profile on create only.

cursoragent and others added 2 commits October 6, 2026 19:49
When creating a slot entry or workout log without an explicit weight_unit,
use the owner's profile preference instead of always storing kilograms.
Explicit units (including null) and later edits are left unchanged.

Fixes wger-project#2205

Co-authored-by: whoalin1 <whoalin1@users.noreply.github.com>
…ight-units-ee7f

# Conflicts:
#	wger/manager/api/serializers.py

This branch has not been deployed

No deployments
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.

Pre-select weight units

2 participants