dynamicweb/datacenterlight/forms.py

12 lines
224 B
Python
Raw Normal View History

2016-12-20 23:05:20 +00:00
from django import forms
from .models import BetaAccess
class BetaAccessForm(forms.ModelForm):
email = forms.CharField(widget=forms.EmailInput())
class Meta:
fields = ['email']
model = BetaAccess