A user is active iff the email and the account are validated
This commit is contained in:
parent
2c3127c746
commit
6498a20b87
2 changed files with 3 additions and 2 deletions
|
|
@ -139,6 +139,7 @@ class ActivityEntryView(LoginRequiredMixin, TemplateView):
|
|||
| Q(name__regex=pattern)
|
||||
| Q(normalized_name__regex=Alias.normalize(pattern)))) \
|
||||
.filter(PermissionBackend.filter_queryset(self.request.user, Alias, "view"))\
|
||||
.filter(note__noteuser__user__profile__registration_valid=True)\
|
||||
.distinct("username")[:20]
|
||||
for note in note_qs:
|
||||
note.type = "Adhérent"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue