Merged tiwariav/task/3657/contact_section into task/3740/contact_send_message
This commit is contained in:
parent
6cca92ec3a
commit
28bcef082c
12 changed files with 362 additions and 79 deletions
|
|
@ -1,6 +1,6 @@
|
|||
from django import forms
|
||||
|
||||
from .models import BetaAccess
|
||||
from .models import BetaAccess, ContactUs
|
||||
|
||||
|
||||
class BetaAccessForm(forms.ModelForm):
|
||||
|
|
@ -11,6 +11,13 @@ class BetaAccessForm(forms.ModelForm):
|
|||
model = BetaAccess
|
||||
|
||||
|
||||
class ContactForm(forms.ModelForm):
|
||||
|
||||
class Meta:
|
||||
fields = ['name', 'email', 'message']
|
||||
model = ContactUs
|
||||
|
||||
|
||||
# class BetaAccessVMForm(forms.ModelForm):
|
||||
# type = forms.CharField(widget=forms.EmailInput())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue