added contact form

This commit is contained in:
DerTyp187
2021-11-25 10:57:40 +01:00
parent 7503846d4c
commit f2c9d3216b
16 changed files with 177 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
from django.forms import ModelForm,HiddenInput
from .models import Entry
class EntryForm(ModelForm):
class Meta:
model = Entry
fields = [ 'email', 'subject', 'message']