Nechceme řešit CSRF warningy (RFC)
Možná chceme – pokud by jich bylo moc, tak to začne být podezřelé a nevím, jestli to zvládne chytit django.security.suspicious_behaviour (nebo jak se jmenuje)
This commit is contained in:
		
							parent
							
								
									a01e58dc68
								
							
						
					
					
						commit
						81a8081c8e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -61,6 +61,7 @@ CSRF_COOKIE_SECURE = True | |||
| 
 | ||||
| LOGGING['loggers']['']['handlers'] = ['console', 'mail_admins'] | ||||
| LOGGING['loggers']['django']['handlers'] = ['console', 'mail_admins'] | ||||
| LOGGING['loggers']['django.security.csrf']['level'] = 'ERROR' | ||||
| LOGGING['handlers']['registration_logfile']['filename'] = '/home/mam-web/logs/prod/registration.log' | ||||
| LOGGING['handlers']['registration_error_log']['filename'] = '/home/mam-web/logs/prod/registration_errors.log' | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Pavel "LEdoian" Turinsky
						Pavel "LEdoian" Turinsky