added local TagTreeModel for testing
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
from django.contrib.gis.db import models
|
||||
|
||||
from tagulous.models import SingleTagField, TagField
|
||||
from tagulous.models import SingleTagField, TagField, TagTreeModel
|
||||
|
||||
from companies.models import Company
|
||||
|
||||
# Create your models here.
|
||||
|
||||
class MyTreeTags(TagTreeModel):
|
||||
class TagMeta:
|
||||
initial = "colors/blue, colors/red, colors/green"
|
||||
force_lowercase = True
|
||||
# autocomplete_view = 'myapp.views.hobbies_autocomplete'
|
||||
|
||||
|
||||
class Product(models.Model):
|
||||
|
||||
SYNCHRONIZED = 'SYNCHRONIZED'
|
||||
|
||||
Reference in New Issue
Block a user