feat(pet): integrates cloudinary, finishes register

This commit is contained in:
2024-12-09 01:58:19 -03:00
parent 28544a4bf8
commit 61fe4728a5
4 changed files with 50 additions and 11 deletions

View File

@@ -42,7 +42,7 @@ class DBUtils():
name=f"Pet {str(i)}",
kind_id=kind_id,
age=randrange(0,8),
img_src="img/placeholder-dog.jpg" if kind_id == 1 else "img/placeholder-cat.jpg",
img_src="/static/img/placeholder-dog.jpg" if kind_id == 1 else "/static/img/placeholder-cat.jpg",
weight=1,
location="Shelbyville",
sex= "M" if randrange(3) > 1.5 else "F",