Import Customers

This commit is contained in:
cosmos
2024-10-26 17:16:27 -05:00
parent 91f3d897e5
commit 5910c0c227
9 changed files with 76 additions and 2 deletions

View File

@@ -8,7 +8,8 @@ from datetime import datetime
class Customer(models.Model):
name = models.CharField(max_length=100, default=None, null=False, blank=False)
address = models.CharField(max_length=100, null=True, blank=True)
email = models.CharField(max_length=100, null=True, blank=True)
phone = models.CharField(max_length=100, null=True, blank=True)
def __str__(self):
return self.name