(;) Semicolon Math is a platform that offers math contests every month with 2 easy, 2 medium, and 2 hard AIME level problems. The format is similar to contests you will find on some competitive programming contests. https://scmath.herokuapp.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
334 B

from django.db import models
from django.contrib.auth.models import User
class Profile(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
has_rating = models.BooleanField(default=False)
rating = models.IntegerField(default=0)
def __str__(self):
return f'{self.user.username} Profile'