mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	* Added logging of 500 responses for instantiated responses. * Added logging of all 4xx and 5xx responses.
		
			
				
	
	
		
			17 lines
		
	
	
		
			597 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			597 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.conf.urls import url
 | |
| from django.urls import path
 | |
| 
 | |
| from . import views
 | |
| 
 | |
| urlpatterns = [
 | |
|     url(r'^innocent/$', views.innocent),
 | |
|     path('redirect/', views.redirect),
 | |
|     url(r'^suspicious/$', views.suspicious),
 | |
|     url(r'^suspicious_spec/$', views.suspicious_spec),
 | |
|     path('internal_server_error/', views.internal_server_error),
 | |
|     path('uncaught_exception/', views.uncaught_exception),
 | |
|     path('permission_denied/', views.permission_denied),
 | |
|     path('multi_part_parser_error/', views.multi_part_parser_error),
 | |
|     path('does_not_exist_raised/', views.does_not_exist_raised),
 | |
| ]
 |