dynamicweb/datacenterlight/forms.py
2017-06-29 17:34:40 +03:00

19 lines
412 B
Python

from django import forms
from .models import BetaAccess
class BetaAccessForm(forms.ModelForm):
email = forms.CharField(widget=forms.EmailInput())
class Meta:
fields = ['name', 'email']
model = BetaAccess
# class BetaAccessVMForm(forms.ModelForm):
# type = forms.CharField(widget=forms.EmailInput())
# class Meta:
# fields = ['email']
# model = BetaAccessVM