2023-02-05 12:07:35 -08:00
|
|
|
def makeKeyWordList(tags):
|
|
|
|
|
catPaths = {
|
|
|
|
|
'digitalart/paintings/other': ['Digital Art', 'Paintings']
|
|
|
|
|
}
|
|
|
|
|
output = [
|
|
|
|
|
tags.da_category,
|
|
|
|
|
tags.license,
|
|
|
|
|
tags.author.username
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if tags.is_mature:
|
|
|
|
|
output.append('is_mature')
|
|
|
|
|
|
|
|
|
|
|
2023-02-05 13:58:50 -08:00
|
|
|
for item in catPaths.get(tags.category_path,[]):
|
2023-02-05 12:07:35 -08:00
|
|
|
output.append(item)
|
2023-02-05 13:58:50 -08:00
|
|
|
|
|
|
|
|
for item in tags.category_path.split('/'):
|
|
|
|
|
output.append(item)
|