Commit f1d8921b62e0be641146ce57eb64af8da78eef98
Committed by
Luiz Oliveira
1 parent
0b8f3f6a
Exists in
master
and in
4 other branches
Added date joined field in User index search
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
colab/accounts/search_indexes.py
... | ... | @@ -22,6 +22,7 @@ class UserIndex(indexes.SearchIndex, indexes.Indexable): |
22 | 22 | google_talk = indexes.CharField(model_attr='google_talk', null=True, |
23 | 23 | stored=False) |
24 | 24 | webpage = indexes.CharField(model_attr='webpage', null=True, stored=False) |
25 | + date_joined = indexes.DateTimeField(model_attr='date_joined') | |
25 | 26 | |
26 | 27 | def get_model(self): |
27 | 28 | return User | ... | ... |