old_contents: from tastypie.authorization import Authorization
  from tastypie.resources import ModelResource
  from .models import GCMDevice
  
  class GCMDeviceResource(ModelResource):
  	class Meta:
  		authorization = Authorization()
  		queryset = GCMDevice.objects.all()
  		resource_name = "gcmdevice"
  
new_contents: from tastypie.authorization import Authorization
  from tastypie.resources import ModelResource
  from .models import APNSDevice, GCMDevice
  
  
  class APNSDeviceResource(ModelResource):
  	class Meta:
  		authorization = Authorization()
  		queryset = APNSDevice.objects.all()
  		resource_name = "apnsdevice"
  
  class GCMDeviceResource(ModelResource):
  	class Meta:
  		authorization = Authorization()
  		queryset = GCMDevice.objects.all()
  		resource_name = "gcmdevice"
  
subject: Add an api resource for APNSDevices