Пример #1
0
 def sync_objects(self, request, queryset):
     ids = [object.id for object in queryset]
     admin_utils.sync(request, 'wikidata_categories', {'ids': ids})
Пример #2
0
 def sync_objects(self, request, queryset):
     ids = [object.id for object in queryset]
     admin_utils.sync(request, 'storev1_node_id_mappings', {'ids': ids})
Пример #3
0
 def sync_objects(self, request, queryset):
     ids = [object.id for object in queryset]
     admin_utils.sync(request, 'wikipedia_pages', {'ids': ids})
Пример #4
0
 def sync_objects(self, request, queryset):
     ids = [object.id for object in queryset]
     admin_utils.sync(request, 'openstreetmap_elements', {'ids': (ids)})
Пример #5
0
 def sync_objects(self, request, queryset):
     ids = [object.id for object in queryset]
     admin_utils.sync(request, 'commons_files', {'ids': ids})