seed_dev_data: print dev logins with verified emails
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- developer-experience
Research direction
Start at handle in apps/devdata/management/commands/seed_dev_data.py to see the count summary it prints today, then follow into seed in apps/devdata/seed.py (around line 153) to see how accounts and players are created and where Faker supplies the email. Check ACCOUNT_EMAIL_VERIFICATION in config/settings.py to confirm what makes an account login-ready, then set a fixed documented dev password and mark the seeded emails verified for the first few accounts. Done looks like running the command under DJANGO_DEBUG and seeing the sample block with working email and Player code pairs.
Written by the indexing model from the issue text.
Description
Why
To work on the app locally, a frontend developer needs to log in. seed_dev_data creates players with accounts, but the accounts' emails come from Faker and the command prints only counts. There is no way to sign in without reading the factories or signing up and finding the verification link in the Celery worker log.
What
Make the command print a few dev logins at the end, and make sure they work:
- Each login has a verified email address and a linked Player, so sign-in works at once (email verification is mandatory).
- Use a fixed, documented dev password. This is for
DJANGO_DEBUGonly, as the command already requires. - Print the email and the Player code for the first few accounts.
Dev logins (password: <dev password>):
[email protected] P-4RWN-8TQ2
[email protected] P-9KXM-2VQ7
Optional: a --verified flag if you don't want this by default.
Context
- Command: apps/devdata/management/commands/seed_dev_data.py. It prints only a count summary at the end of
handle. - Seeding code: apps/devdata/seed.py (
seedat line 153). - Email verification is mandatory before login (config/settings.py, ACCOUNT_EMAIL_VERIFICATION).
- Frontend v1 proposal: https://github.com/openpickleball/frontend/blob/main/plans/frontend-v1/proposal.md (lands on main shortly).
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 206
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openpickleball/backend
-
area:infra documentation priority:p2 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#472 ·
Maintainers usually reply within 1 day
-
Show doctl's error when the Deploy workflow's update failsPossibly taken @GeoBradDev claimed this today. Openarea:infra bug priority:p2 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#471 ·
Maintainers usually reply within 1 day
-
area:infra documentation type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
openpickleball/backend#196 ·
Maintainers usually reply within 1 day
-
area:api enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
openpickleball/backend#470 ·
Maintainers usually reply within 1 day
-
area:infra bug priority:p1 size:S
Difficulty 3/5 1-2 days Newbie friendliness 75/100
openpickleball/backend#468 ·
Maintainers usually reply within 1 day
All issues in openpickleball/backend
Similar issues
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1307 ·
Maintainers usually reply within 2 days
-
type/bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
h2oai/h2o-llmstudio#1163 ·
Maintainers usually reply within 1 day