Official field in CategoryTag and categories in initial endpoint

This commit is contained in:
Diego Calvo
2022-01-31 11:50:43 +01:00
parent 71d5834abe
commit 66016020a5
4 changed files with 28 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ class TreeTag(TagTreeModel):
class CategoryTag(TagTreeModel):
official = models.BooleanField('Oficial', default=False)
class TagMeta:
initial = ""
force_lowercase = False