Commit 325b5b0da13126a3b5f44ce93efbe2336a3ad575
1 parent
50e4c65a
Exists in
timestamp_plugins
and in
1 other branch
Changed tag to tag_name removed Tag model
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com> Signed-off-by: Lucas Moura <lucas.moura128@gmail.com>
Showing
2 changed files
with
1 additions
and
5 deletions
Show diff stats
colab/plugins/utils/models.py
... | ... | @@ -3,10 +3,6 @@ from django.conf import settings |
3 | 3 | from colab.accounts.models import User |
4 | 4 | |
5 | 5 | |
6 | -class Tag(models.Model): | |
7 | - name = models.CharField(max_length=255) | |
8 | - color = models.CharField(max_length=30) | |
9 | - | |
10 | 6 | class Collaboration(models.Model): |
11 | 7 | ''' |
12 | 8 | Class to define the fields of the collaboration block | ... | ... |
colab/super_archives/search_indexes.py
... | ... | @@ -19,7 +19,7 @@ class ThreadIndex(BaseIndex, indexes.Indexable): |
19 | 19 | modified = indexes.DateTimeField( |
20 | 20 | model_attr='latest_message__modified' |
21 | 21 | ) |
22 | - tag = indexes.CharField(model_attr='mailinglist__name') | |
22 | + tag_name = indexes.CharField(model_attr='mailinglist__name') | |
23 | 23 | collaborators = indexes.CharField(use_template=True, stored=False) |
24 | 24 | mailinglist_url = indexes.CharField( |
25 | 25 | model_attr='mailinglist__get_absolute_url', | ... | ... |