import datetime

from django.db import models
# from django.utils import request
# from urllib import request

# class Player(models.Model):
#     if request.user.is_authenticated():
#         username = request.user

#         #lightsaber duel elo 
#         lsd_wins = models.IntegerField(Default=0)
#         lsd_losses = models.IntegerField(Default=0)
#         lsd_draws = models.IntegerField(Default=0)
#         lsd_games = models.IntegerField(Default=0)
#         lsd_elo = models.IntegerField(default=0)
#         lsd_winpercent = models.FloatField(default=0)

#     else:
#         print("error") ## fix this, needs to respond if no login