start digital glarus

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
This commit is contained in:
Nico Schottelius 2015-05-02 17:00:15 +02:00
parent 086195073b
commit 1dff90c99b
6 changed files with 20 additions and 0 deletions

View file

3
digital_glarus/admin.py Normal file
View file

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

View file

11
digital_glarus/models.py Normal file
View file

@ -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')

3
digital_glarus/tests.py Normal file
View file

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
digital_glarus/views.py Normal file
View file

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.