dynamicweb/digital_glarus/models.py

12 lines
307 B
Python
Raw Normal View History

from django.db import models
# Create your models here.
class Message(models.Model):
name = models.CharField(max_length=200)
email = models.EmailField()
phone_number = models.CharField(max_length=200)
message = models.TextField()
received_date = models.DateTimeField('date received')