From 3c2f3b06cdb3e0d7813cc7552ce3147db9fa26e8 Mon Sep 17 00:00:00 2001
From: Seon82 <46298009+Seon82@users.noreply.github.com>
Date: Tue, 1 Dec 2020 11:10:38 +0100
Subject: [PATCH] Better filtering for registration (#27)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* Password reset feature (#8)

* Add Django Rest auth module

* Try to make the send reset password email work

* Modified template mail for reset

* Add Django Rest auth module

* Try to make the send reset password email work

* Modified template mail for reset

* test

* Added utf-8 support to exported csv and switched delimiter from , to ; in admin interface

* Disabled emails while in dev

* Added multi selection filter in admin

* Fixed mail settings

* Added year field to Tutor serializer

* Fixed year updated before registration form filled

* commit for automatic deploy

* Testing CI

* Added filtering in admin for registration validation

Co-authored-by: chiahetcho <44137047+chiahetcho@users.noreply.github.com>
Co-authored-by: florimondmanca <florimond.manca@gmail.com>
Co-authored-by: Arthur Guédon <arthur.guedon@student-cs.fr>
Co-authored-by: Arthur Guédon <60623551+arthurgdn@users.noreply.github.com>
---
 register/admin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/register/admin.py b/register/admin.py
index fa128f3..8273b9e 100644
--- a/register/admin.py
+++ b/register/admin.py
@@ -12,4 +12,4 @@ class RegistrationAdmin(admin.ModelAdmin):
 
     list_display = ('last_name', 'first_name', 'submitted')
     readonly_fields = ('submitted',)
-    list_filter = ('submitted',)
+    list_filter = ('submitted', 'validated')
-- 
GitLab