Skip to content

Replace hardcoded PM group ID with name-based lookup#19

Merged
csengor merged 1 commit intokaplanPRO:0.6.x-devfrom
csengor:claude/review-user-groups-U8DdU
Mar 22, 2026
Merged

Replace hardcoded PM group ID with name-based lookup#19
csengor merged 1 commit intokaplanPRO:0.6.x-devfrom
csengor:claude/review-user-groups-U8DdU

Conversation

@csengor
Copy link
Copy Markdown
Member

@csengor csengor commented Mar 22, 2026

Replaces user.groups.add(1) with Group.objects.get(name="PM") so group membership no longer depends on the fixture's primary key value. Updates the corresponding test to create and assert the group by name.

https://claude.ai/code/session_01EaeBCyHpEPgy7pq2Zk4c8h

Replaces user.groups.add(1) with Group.objects.get(name="PM") so
group membership no longer depends on the fixture's primary key value.
Updates the corresponding test to create and assert the group by name.

https://claude.ai/code/session_01EaeBCyHpEPgy7pq2Zk4c8h
@csengor csengor merged commit 4ba72d6 into kaplanPRO:0.6.x-dev Mar 22, 2026
2 checks passed
@csengor csengor deleted the claude/review-user-groups-U8DdU branch March 22, 2026 20:38
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