openlibhums / openlibhums/janeway
Explore adding further constraints to Issue model
Open
Nobody has claimed this yet.
dev-ready
Metadata
Priority low
Size M
- Dominant language
- Python
- Stars
- 238
- Forks
- 97
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 8
Description
The Issue model has no constraints on its attributes, which could lead to multiple issues with the same date, volume, and issue number combinations. The table primary key is the autogenerated id field from django.
Contributor 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.
Research direction
Locate the Django Issue model and inspect its date, volume, and issue number fields, along with the existing migration and test setup. Confirm the intended uniqueness combination and verify that duplicate records are rejected while valid issues remain creatable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100