Sahil Batra  
		
	
	851d68e0fc 
	
	
	create_user: Use transaction.atomic decorator for do_create_user.  
		
			... 
			We change the do_create_user function to use transaction.atomic
decorator instead of using with block. Due to this change, all
send_event calls are made inside transaction.on_commit.
Some other changes -
- Remove transaction.atomic decorator from send_inital_realm_messages
since it is now called inside a transaction.
- Made changes in tests which tests message events and notifications
to make sure on_commit callbacks are executed. 
		
	 
 
		2023-01-26 10:49:19 -08:00 
	 
	
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2023-01-03 11:09:50 -08:00 
		 
	
		
			
			
			
			
			
			2022-03-15 12:47:21 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-26 10:16:30 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-09 18:23:58 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-04 16:25:07 -08:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2022-11-04 14:31:18 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-08 11:08:14 -08:00 
		 
	
		
	
		
			
			
			
			
			
			2023-01-06 13:32:47 -08:00 
		 
	
		
			
			
			
			
			
			2022-10-17 11:32:52 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-17 15:00:39 -08:00 
		 
	
		
			
			
			
			
			
			2022-07-26 18:00:24 -07:00 
		 
	
		
			
			
			
			
			
			2022-12-13 16:29:10 -08:00 
		 
	
		
			
			
			
			
			
			2022-07-21 15:25:11 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-24 13:22:13 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-04 16:25:07 -08:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-26 10:49:19 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-26 10:49:19 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-26 10:49:19 -08:00 
		 
	
		
			
			
			
			
			
			2022-10-17 11:32:52 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2022-11-03 12:10:15 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-26 10:16:30 -08:00 
		 
	
		
			
			
			
			
			
			2022-04-14 17:14:35 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-08 11:25:03 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-09 18:23:58 -05:00 
		 
	
		
			
			
			
			
			
			2022-06-23 19:23:08 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-11-03 12:10:15 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-13 11:05:37 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-04 16:25:07 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-03 11:09:50 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-24 11:29:50 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-26 10:16:30 -08:00 
		 
	
		
	
		
			
			
			
			
			
			2022-10-17 11:32:52 -07:00 
		 
	
		
			
			
			
			
			
			2022-03-09 16:33:51 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-10 15:27:55 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-09 18:23:58 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-03 11:09:50 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-26 10:49:19 -08:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-06 17:08:20 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-04 16:25:07 -08:00 
		 
	
		
			
			
			
			
			
			2022-10-07 10:09:38 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2022-09-27 17:18:48 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-04 16:25:07 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-24 11:16:21 -08:00 
		 
	
		
	
		
			
			
			
			
			
			2022-11-16 21:13:44 -08:00 
		 
	
		
			
			
			
			
			
			2022-06-01 16:01:54 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-11-04 14:46:17 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-25 16:16:15 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-03 11:09:50 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-04 16:25:07 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-23 11:18:36 -08:00 
		 
	
		
	
		
			
			
			
			
			
			2022-08-10 16:30:39 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-13 11:05:37 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-08 08:50:17 -08:00 
		 
	
		
			
			
			
			
			
			2022-09-16 15:27:52 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-09 18:23:58 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-26 10:49:19 -08:00 
		 
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-04 14:44:07 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-23 11:18:36 -08:00 
		 
	
		
			
			
			
			
			
			2022-06-23 22:05:12 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2023-01-09 18:23:58 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-27 10:34:30 -08:00 
		 
	
		
			
			
			
			
			
			2022-11-05 15:13:46 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2022-08-25 12:13:03 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2022-04-28 12:34:29 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-04 16:25:07 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-24 11:29:50 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-18 17:25:46 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-10-17 11:32:52 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-04-14 17:14:30 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-04 16:25:07 -08:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2022-05-30 11:59:47 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2023-01-04 16:25:07 -08:00 
		 
	
		
			
			
			
			
			
			2022-07-05 17:54:17 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-09 18:23:58 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-24 11:16:21 -08:00 
		 
	
		
			
			
			
			
			
			2022-10-17 11:32:52 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-09 18:23:58 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-25 14:08:29 -08:00 
		 
	
		
			
			
			
			
			
			2022-12-13 14:58:58 -08:00 
		 
	
		
			
			
			
			
			
			2022-09-23 12:27:54 -07:00 
		 
	
		
			
			
			
			
			
			2023-01-24 11:16:21 -08:00 
		 
	
		
			
			
			
			
			
			2022-11-17 16:52:00 -08:00 
		 
	
		
			
			
			
			
			
			2022-09-13 11:05:37 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-12 17:08:04 -07:00