from users.models import CustomUser
from wearerData.models import WearerEvent

'''
HELP
'''
# ------------
# 변경 가능
# 0: 낙상, 1: 부정맥, 2: 열사병
# CASE = 0
# ------------

user = CustomUser.objects.get(username="w3@gmail.com")

we = WearerEvent.objects.create(user=user, fallEvent=True)
# we = WearerEvent(user=user, heartEvent="B")
# we = WearerEvent(user=user, heatIllEvent="B")

we.save()

d3b297708010d8d4d12accdd2b1db716f68cc15b
<mask token>

<mask token>
we.save()

<mask token>
user = CustomUser.objects.get(username='w3@gmail.com')
we = WearerEvent.objects.create(user=user, fallEvent=True)
we.save()

from users.models import CustomUser
from wearerData.models import WearerEvent
<mask token>
user = CustomUser.objects.get(username='w3@gmail.com')
we = WearerEvent.objects.create(user=user, fallEvent=True)
we.save()

from users.models import CustomUser
from wearerData.models import WearerEvent

'''
HELP
'''
# ------------
# 변경 가능
# 0: 낙상, 1: 부정맥, 2: 열사병
# CASE = 0
# ------------

user = CustomUser.objects.get(username="w3@gmail.com")

we = WearerEvent.objects.create(user=user, fallEvent=True)
# we = WearerEvent(user=user, heartEvent="B")
# we = WearerEvent(user=user, heatIllEvent="B")

we.save()
