2016-12-20 23:05:20 +00:00
|
|
|
from django import forms
|
|
|
|
|
2017-04-23 21:31:05 +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-04-23 21:31:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
# class BetaAccessVMForm(forms.ModelForm):
|
|
|
|
# type = forms.CharField(widget=forms.EmailInput())
|
|
|
|
|
|
|
|
# class Meta:
|
|
|
|
# fields = ['email']
|
|
|
|
# model = BetaAccessVM
|