set email production settings
This commit is contained in:
		
							parent
							
								
									418c1bf38c
								
							
						
					
					
						commit
						21488ef3c1
					
				|  | @ -17,7 +17,10 @@ from pathlib import Path | |||
| from django.core.exceptions import ImproperlyConfigured | ||||
| 
 | ||||
| # mails in development go to stdout | ||||
| EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' | ||||
| EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' | ||||
| 
 | ||||
| EMAIL_HOST = '10.0.6.25' | ||||
| EMAIL_PORT = '25' | ||||
| 
 | ||||
| # Build paths inside the project like this: BASE_DIR / 'subdir'. | ||||
| BASE_DIR = Path(__file__).resolve().parent.parent | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue