Created
April 3, 2015 01:36
-
-
Save draggor/a2bc012242accf34365b to your computer and use it in GitHub Desktop.
Fields order example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# inherited from https://github.com/GoodCloud/django-zebra/blob/master/zebra/forms.py | |
class RegistrationForm(StripePaymentForm): | |
badgeName = forms.CharField(max_length=50, label="Badge Name:") | |
firstName = forms.CharField(max_length=50, label="First Name:") | |
lastName = forms.CharField(max_length=50, label="Last Name:") | |
class Meta: | |
fields = ( | |
'badgeName', | |
'firstName', | |
'lastName', | |
'card_number', | |
'card_cvv', | |
'card_expiry_month', | |
'card_expiry_year', | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment