Esempio n. 1
0
 def transaction(device):
     devices = UserDevices.get_user_device_collection_static(
         users.get_current_user())
     device.put()
     devices.add_device(device)
     devices.put()
Esempio n. 2
0
			def transaction(device):
				devices = UserDevices.get_user_device_collection_static(users.get_current_user())
				device.put()
				devices.add_device(device)
				devices.put()
Esempio n. 3
0
 def transaction(device):
     devices = UserDevices.get_user_device_collection_static(
         users.get_current_user())
     devices.remove_device(device)
     device.delete()
     devices.put()
Esempio n. 4
0
			def transaction(device):
				devices = UserDevices.get_user_device_collection_static(users.get_current_user())
				devices.remove_device(device)
				device.delete()
				devices.put()