chibisov/drf-extensions — pull request #63 by maryokhin (2014-12-18 11:04:29+00:00)
Title: Respect parent lookup regex value

Opening this preemptively because I need some guidance and discussion.

I tried using the core's get_lookup_regex method, but ran into a couple of snags. The most important one is that it's not really hard to respect the parent's `lookup_value_regex`, but `lookup_value_regex()` also takes into account the viewsets `lookup_field` which we don't set anywhere in the current implementation. I am fighting with it right now, but not even sure if it's possible to do it remotely pretty. What do you think?