2016-12-20 23:05:20 +00:00
|
|
|
from django import forms
|
|
|
|
|
2017-02-15 04:34:06 +00:00
|
|
|
from .models import BetaAccess, BetaAccessVM
|
2016-12-20 23:05:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
class BetaAccessForm(forms.ModelForm):
|
|
|
|
email = forms.CharField(widget=forms.EmailInput())
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
fields = ['email']
|
|
|
|
model = BetaAccess
|
2017-02-15 04:34:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
# class BetaAccessVMForm(forms.ModelForm):
|
|
|
|
# type = forms.CharField(widget=forms.EmailInput())
|
|
|
|
|
|
|
|
# class Meta:
|
|
|
|
# fields = ['email']
|
|
|
|
# model = BetaAccessVM
|