Dockerizing the project
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
# app/utils.py
|
||||
|
||||
import string
|
||||
import random
|
||||
|
||||
def generate_short_code(length=6):
|
||||
characters = string.ascii_letters + string.digits
|
||||
return ''.join(random.choice(characters) for _ in range(length))
|
||||
|
||||
Reference in New Issue
Block a user