update SDE data & DRF requirements
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user