CCrypto VPN public website https://vpn.ccrypto.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
383 B

  1. from django import forms
  2. from .models import BACKEND_CHOICES
  3. class NewPaymentForm(forms.Form):
  4. TIME_CHOICES = (
  5. ('1', '1'),
  6. ('3', '3'),
  7. ('6', '6'),
  8. ('12', '12'),
  9. )
  10. subscr = forms.ChoiceField(choices=(('0', 'no'), ('1', 'yes')))
  11. time = forms.ChoiceField(choices=TIME_CHOICES)
  12. method = forms.ChoiceField(choices=BACKEND_CHOICES)