示例#1
0
 class Meta:
     queryset = ContentRating.objects.all()
     resource_name = 'content_rating_csv'
     authorization = ObjectAdminAuthorization()
     excludes = ['signed_version', 'counter', 'signature', 'id', 'deleted']
     serializer = CSVSerializer()
     include_resource_uri = False
示例#2
0
 class Meta:
     queryset = Device.objects.all()
     resource_name = 'device_log_csv'
     authorization = ObjectAdminAuthorization()
     excludes = ['signed_version', 'public_key', 'counter', 'signature']
     serializer = CSVSerializer()
     limit = 0
     max_limit = 0
示例#3
0
 class Meta:
     queryset = ExerciseLog.objects.all()
     resource_name = 'exercise_log_csv'
     authorization = ObjectAdminAuthorization()
     excludes = ['signed_version', 'counter', 'signature']
     serializer = CSVSerializer()
     limit = 0
     max_limit = 0
示例#4
0
 class Meta:
     queryset = StoreTransactionLog.objects.all()
     resource_name = 'store_transaction_log_csv'
     authorization = ObjectAdminAuthorization()
     excludes = [
         'signed_version', 'counter', 'signature', 'deleted', 'reversible'
     ]
     serializer = CSVSerializer()
     limit = 0
     max_limit = 0
示例#5
0
 class Meta:
     queryset = TestLog.objects.all()
     resource_name = 'test_log_csv'
     authorization = ObjectAdminAuthorization()
     excludes = [
         'user', 'counter', 'signature', 'deleted', 'signed_version'
     ]
     serializer = CSVSerializer()
     limit = 0
     max_limit = 0
示例#6
0
 class Meta:
     queryset = AttemptLog.objects.all()
     resource_name = 'attempt_log_csv'
     authorization = ObjectAdminAuthorization()
     excludes = [
         'user', 'signed_version', 'language', 'deleted', 'response_log',
         'signature', 'version', 'counter'
     ]
     serializer = CSVSerializer()
     limit = 0
     max_limit = 0
示例#7
0
 class Meta:
     queryset = FacilityUser.objects.all()
     resource_name = 'facility_user_csv'
     authorization = ObjectAdminAuthorization()
     excludes = [
         'password', 'signature', 'deleted', 'signed_version', 'counter',
         'notes'
     ]
     serializer = CSVSerializer()
     limit = 0
     max_limit = 0
示例#8
0
 class Meta:
     queryset = FacilityGroup.objects.all()
     resource_name = 'group'
     authorization = ObjectAdminAuthorization()
     limit = 0
     max_limit = 0