update SDE data & DRF requirements

This commit is contained in:
2024-05-13 19:39:12 +02:00
parent 8662cffa2e
commit cb6ae7c06d
7 changed files with 58215 additions and 5189 deletions

View File

@@ -116,7 +116,7 @@ class Command(BaseCommand):
'marketgroup': SDEMarektGroup.objects.get(id=type['marketGroupID']) if "marketGroupID" in type else None,
'metagroup': SDEMetaGroup.objects.get(id=type['metaGroupID']) if "metaGroupID" in type else None,
'name': type['name']['en'],
'description': type['description']['en'] if "description" in type else "",
'description': type['description']['en'] if "description" in type and 'en' in type["description"] else "",
'published': type['published'],
'basePrice': type['basePrice'] if "basePrice" in type else 0,
'icon': SDEIcon.objects.get(id=type['iconID']) if "iconID" in type else None,