class Shops(models.Model):
name = CharField(max_length=50)
username = CharField(max_length=60)
shopname = CharField(max_length=50)
city = CharField(max_length=50)
area = CharField(max_length=50, blank=True, null=True)
typesport = CharField(max_length=40)
def __str__(self):
class Appointments(models.Model):
shopid = models.ForeignKey(Shops, on_delete=models.CASCADE)
date = models.DateField(auto_now=False, auto_now_add=False,blank=True)
time = models.TimeField(auto_now=False, auto_now_add=False,blank=True)
def __str__(self):