Added Flake8 lib and fixed PEP8 violations
This commit is contained in:
		
					parent
					
						
							
								0cbd3aa666
							
						
					
				
			
			
				commit
				
					
						edcfd3e9f4
					
				
			
		
					 65 changed files with 340 additions and 387 deletions
				
			
		|  | @ -1,7 +1,6 @@ | |||
| from django import forms | ||||
| from django.db.models import Q | ||||
| from django.utils.translation import ugettext_lazy as _ | ||||
| from datetime import datetime | ||||
| 
 | ||||
| 
 | ||||
| from utils.models import BillingAddress | ||||
|  | @ -92,7 +91,7 @@ class CancelBookingForm(forms.ModelForm): | |||
| class BookingDateForm(forms.Form): | ||||
|     start_date = forms.DateField(required=False, | ||||
|                                  widget=forms.TextInput(attrs={'id': 'booking-date-1', | ||||
|                                                                      'value': 'Select your date'})) | ||||
|                                                                'value': 'Select your date'})) | ||||
|     end_date = forms.DateField(required=False, | ||||
|                                widget=forms.TextInput(attrs={'id': 'booking-date-2'})) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue