Fixes bug in payment form
This commit is contained in:
		
							parent
							
								
									fb3f1411c7
								
							
						
					
					
						commit
						ed1087d9d3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -92,7 +92,7 @@ class CreditCardForm(forms.Form):
 | 
				
			||||||
        required=False,
 | 
					        required=False,
 | 
				
			||||||
        label="Card expiry year",
 | 
					        label="Card expiry year",
 | 
				
			||||||
        help_text="The expiry year for your card in 4-digit form",
 | 
					        help_text="The expiry year for your card in 4-digit form",
 | 
				
			||||||
        min_value=lambda: timezone.now().year,
 | 
					        min_value=timezone.now().year,
 | 
				
			||||||
    ))
 | 
					    ))
 | 
				
			||||||
    cvc = secure_striped(forms.CharField(
 | 
					    cvc = secure_striped(forms.CharField(
 | 
				
			||||||
        required=False,
 | 
					        required=False,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue