mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 16:44:54 +00:00
Initial Commit
This commit is contained in:
6
zod_bank/guardian/tasks.py
Normal file
6
zod_bank/guardian/tasks.py
Normal file
@ -0,0 +1,6 @@
|
||||
"""task files"""
|
||||
"""Django import"""
|
||||
import random
|
||||
def generate_otp():
|
||||
"""generate random otp"""
|
||||
return ''.join([str(random.randrange(9)) for _ in range(6)])
|
||||
Reference in New Issue
Block a user