Use explicit index in plan name formatting
This commit is contained in:
		
					parent
					
						
							
								27a92780a6
							
						
					
				
			
			
				commit
				
					
						e1c91d886b
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -669,7 +669,7 @@ class OrderConfirmationView(DetailView): | |||
|                         2 | ||||
|                     ) | ||||
|                 ) | ||||
|                 plan_name = "generic-{}-{0:.2f}".format( | ||||
|                 plan_name = "generic-{0}-{1:.2f}".format( | ||||
|                     request.session['generic_payment_details']['product_id'], | ||||
|                     amount_to_be_charged | ||||
|                 ) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue