Demo export action and added color badges where needed
This commit is contained in:
4
techdb/flightslot/custom/defpassword.py
Normal file
4
techdb/flightslot/custom/defpassword.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from ..models.students import Student
|
||||
|
||||
def default_password(student: Student) -> str:
|
||||
return f"{student.name.lower()[0]}{student.surname.lower()}{student.id}"
|
||||
Reference in New Issue
Block a user