I have had some experience with Django before, but I have never contributed to an open source project before. The per-instance lookups idea page for GSOC caught my eye, but I’m a bit overwhelmed at what I should do to get started. Does anyone have any tips or contacts to help on my journey? What should some of my first steps be to working towards GSOC? Thanks for taking the time to read this, any help is appreciated!
To begin you need to be up on the existing per-class registration API:
- Lookup API Reference | Django Documentation | Django
- How to Write Custom Lookups | Django Documentation | Django
Dig into the source and find where it’s implemented. (Follow the links to the original ticket and PR.)
Then look through the comments on this ticket, and draft PR:
- #29799 (Allow Registration and Unregistration of Lookups Per Field Instances.) – Django
- Fixed #29799 – Allowed Registration and Unregistration of Lookups Per Field Instances. By Cansarigol · Pull Request #11408 · Django/Django
At that point you should have some ideas as to how an implementation might look. (In addition to the lookup on the class, we’d need a per-instance store that would be checked too.)
Then, check out the contributing guide to make sure you’re up to speed. Getting going with the Unit Tests is a good practical starting point.
I hope that helps.