Contributer: Allen Jonathan David Mentors: Mariusz Felisiak, Simon Charette Organization: Django Software Foundation
This project aims to add support to register and unregister custom lookups on a model’s Field instances. As of now, the Lookup API can only register and unregister lookups on Field classes. So a custom lookup added or overridden to a field affects all models which have that field, thus limiting the customizability of model lookups. Support for custom lookups for a particular field is the main goal of this project.
The detailed proposal for this project can be found here: GSoC-Proposal
The project had already some work done by Simon Charette. I first worked on testing the existing implemetation. Later class_or_instance_method
, register_instance_lookup
, unregister_instance_lookup
and get_instance_lookup
were added. Then I fixed existing tests, worked on writing tests for the new feature (instance lookups) and added addition tests for already existing class lookups tests. Lastly I worked on the documentation explaining the new feature and version changed annotations.
The project pull request - Allowed registering lookups per field instances.
- Tested
class_or_instance_method
which return repective methods based on call type. - Added support for
register_instance_lookup
,unregister_instance_lookup
andget_instance_lookup
. - Added support for reverse relations.
- Fixed existing tests and wrote addition tests for the feature.
- Wrote the documentation explaining the new feature.
Since the project was almost done earlier than expected, I worked on a few addition tickets.
-
ticket_26511
Documented KeyTransform and KeyTextTransform -
ticket_33966
Add support for using KeyTextTransform from lookup
I want to contribute in this project . I want to bring expereince from the contribution in this project , and I confirm that i will contriubute my time in this project .
can i be contribute in this project .
I want to work on this project on python because i can solve all problems related to python .
MY MAIL ID : pdate73@gmaill.com
please reply me via this mail id
I will wait and i am so excited to contribute in this project.