mirror of
https://github.com/rjNemo/villafleurie
synced 2026-06-06 02:16:47 +00:00
* crete setting module to split prod and dev configs * fix calendar midmatch * lint imports using isort * doc: add doctrings
14 lines
353 B
Python
14 lines
353 B
Python
from django.db import models
|
|
|
|
|
|
class Guest(models.Model):
|
|
""" Guest summarizes customer information. """
|
|
class Meta:
|
|
verbose_name = "Voyageur"
|
|
|
|
def __str__(self):
|
|
return self.name
|
|
|
|
name = models.CharField(max_length=100)
|
|
email = models.EmailField(unique=False)
|
|
phone = models.CharField(max_length=30, blank=True)
|