diff --git a/digital_glarus/__init__.py b/digital_glarus/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/digital_glarus/admin.py b/digital_glarus/admin.py new file mode 100644 index 00000000..8c38f3f3 --- /dev/null +++ b/digital_glarus/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/digital_glarus/migrations/__init__.py b/digital_glarus/migrations/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/digital_glarus/models.py b/digital_glarus/models.py new file mode 100644 index 00000000..e205a914 --- /dev/null +++ b/digital_glarus/models.py @@ -0,0 +1,11 @@ +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') diff --git a/digital_glarus/tests.py b/digital_glarus/tests.py new file mode 100644 index 00000000..7ce503c2 --- /dev/null +++ b/digital_glarus/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/digital_glarus/views.py b/digital_glarus/views.py new file mode 100644 index 00000000..91ea44a2 --- /dev/null +++ b/digital_glarus/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.