switched tag field to local TagTreeModel
This commit is contained in:
@@ -131,3 +131,7 @@ class Command(BaseCommand):
|
||||
logging.info(f"Region instances created: {region_counter}")
|
||||
logging.info(f"Province instances created: {province_counter}")
|
||||
logging.info(f"City instances created: {city_counter}")
|
||||
print(f"Country instances created: {country_counter}")
|
||||
print(f"Region instances created: {region_counter}")
|
||||
print(f"Province instances created: {province_counter}")
|
||||
print(f"City instances created: {city_counter}")
|
||||
|
||||
@@ -76,6 +76,7 @@ class CustomUser(AbstractBaseUser, PermissionsMixin):
|
||||
|
||||
class TreeTag(TagTreeModel):
|
||||
class TagMeta:
|
||||
# initial = "food/eating, food/cooking, gaming/football"
|
||||
initial = ""
|
||||
force_lowercase = True
|
||||
max_count=20
|
||||
# autocomplete_view = 'myapp.views.hobbies_autocomplete'
|
||||
|
||||
Reference in New Issue
Block a user