Skip to content
This repository was archived by the owner on Feb 20, 2019. It is now read-only.

Conversation

@toopy
Copy link

@toopy toopy commented Oct 27, 2014

We would like to do some magic like indexing django related field implicitly like in this demo mapping: https://github.com/novapost/django-esutils/blob/master/demo/demo_esutils/mappings.py#L13

Then the BaseMappingType do the job: https://github.com/novapost/django-esutils/blob/master/django_esutils/mappings.py#L98

But to do that, we need to hack the current split_field_action method (cf.: this PR). What do you think about that ? Or is there another way to do it ?

@willkg
Copy link
Member

willkg commented Oct 29, 2014

It feels awkward. I'll think about this and see if I can think of alternative options.

@toopy
Copy link
Author

toopy commented Oct 29, 2014

Sorry my django project is still private for now. I try to make it public asap then it should help for your thinking ;)

@toopy
Copy link
Author

toopy commented Nov 14, 2014

@toopy toopy closed this Nov 14, 2014
@toopy toopy deleted the authorize-__-in-mapping-field-name branch November 14, 2014 10:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants