add local settings
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -6,3 +6,4 @@ build/
 | 
				
			|||||||
.cache/
 | 
					.cache/
 | 
				
			||||||
*/__pycache__/
 | 
					*/__pycache__/
 | 
				
			||||||
*/*/__pycache__/
 | 
					*/*/__pycache__/
 | 
				
			||||||
 | 
					caromserver/local_settings.py
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -129,3 +129,9 @@ REST_FRAMEWORK = {
 | 
				
			|||||||
        'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
 | 
					        'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					try:
 | 
				
			||||||
 | 
					    from local_settings import *
 | 
				
			||||||
 | 
					except ImportError:
 | 
				
			||||||
 | 
					    pass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user