Adapt copyright copy to use current year, Add bank account info, Set the correct text on supporters page, HTML Form adapted to Django template, Create forms.py to have all forms, Create Contact Django Form View, Create a HTML template to contact email, Send contact email to info@digitalglarus.ch
This commit is contained in:
parent
76f703b9d7
commit
f667aae38e
12 changed files with 184 additions and 66 deletions
|
|
@ -8,8 +8,7 @@ class Message(models.Model):
|
|||
email = models.EmailField()
|
||||
phone_number = models.CharField(max_length=200)
|
||||
message = models.TextField()
|
||||
|
||||
received_date = models.DateTimeField('date received')
|
||||
received_date = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
def __str__(self):
|
||||
return "%s - %s - %s" % (self.name, self.email, self.received_date)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue