Skip to content

Commit

Permalink
Add new line and admin column
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Sep 1, 2023
1 parent 886a4b4 commit 62e5782
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion portal/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class TeacherAdmin(admin.ModelAdmin, ExportActionMixin):
class UserProfileAdmin(admin.ModelAdmin, ExportActionMixin):
search_fields = ["user__first_name", "user__last_name", "user__username", "user__date_joined"]
list_filter = ["user__date_joined"]
list_display = ["user", "__str__"]
list_display = ["user", "__str__", "is_verified"]
readonly_fields = ["user"]


Expand Down
2 changes: 1 addition & 1 deletion portal/views/cron/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
USER_2ND_VERIFY_EMAIL_REMINDER_TEXT = (
"Please go to the link below to verify your email address:"
"\n{email_verification_url}."
"You will not be able to use your account until it is verified."
"\nYou will not be able to use your account until it is verified."
"\n\nBy activating the account you confirm that you have read and agreed to"
" our terms ({terms_url}) and our privacy notice ({privacy_notice_url}). If"
" your account is not verified within 5 days we will delete it."
Expand Down

0 comments on commit 62e5782

Please sign in to comment.