diff --git a/main/models.py b/main/models.py index 65aa704..ffe7039 100644 --- a/main/models.py +++ b/main/models.py @@ -12,7 +12,7 @@ class Page(models.Model): def __str__(self): return self.title -class Contact(models.Model): +"""class Contact(models.Model): name=models.CharField(max_length=100) url=models.CharField(max_length=500) proto=models.CharField(max_length=100) @@ -24,7 +24,7 @@ class Contact(models.Model): a=Updates.objects.get(page='contact') a.date=date.today() a.save() - super().save(*args,**kwargs) + super().save(*args,**kwargs)""" class Updates(models.Model): page=models.CharField(max_length=100)