Created
February 13, 2017 10:23
-
-
Save justinvdm/c9be4176f74da29c114dfc48c6477dfa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mentorship/mentor/views.py b/mentorship/mentor/views.py | |
index 485fa3c..bda28ff 100644 | |
--- a/mentorship/mentor/views.py | |
+++ b/mentorship/mentor/views.py | |
@@ -798,7 +798,7 @@ class MatchByQueryFilter(filters.FilterSet): | |
mentor_email = django_filters.CharFilter(name="user__email") | |
mentor_external_id = django_filters.CharFilter(name="external_id") | |
mentee_email = django_filters.CharFilter(name="mentee__user__email") | |
- mentor_external_id = django_filters.CharFilter(name="mentee__external_id") | |
+ mentee_external_id = django_filters.CharFilter(name="mentee__external_id") | |
class Meta: | |
model = Mentor | |
@@ -806,7 +806,7 @@ class MatchByQueryFilter(filters.FilterSet): | |
'mentor_email', | |
'mentor_external_id', | |
'mentee_email', | |
- 'mentor_external_id' | |
+ 'mentee_external_id' | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍