Show More
@@ -32,7 +32,7 b' class Tag(models.Model):' | |||||
32 | class Meta: |
|
32 | class Meta: | |
33 | app_label = 'boards' |
|
33 | app_label = 'boards' | |
34 |
|
34 | |||
35 | name = models.CharField(max_length=100) |
|
35 | name = models.CharField(max_length=100, db_index=True) | |
36 | threads = models.ManyToManyField(Thread, null=True, |
|
36 | threads = models.ManyToManyField(Thread, null=True, | |
37 | blank=True, related_name='tag+') |
|
37 | blank=True, related_name='tag+') | |
38 | linked = models.ForeignKey('Tag', null=True, blank=True) |
|
38 | linked = models.ForeignKey('Tag', null=True, blank=True) |
@@ -79,7 +79,7 b'' | |||||
79 | {% endif %} |
|
79 | {% endif %} | |
80 | </div> |
|
80 | </div> | |
81 | {% endcache %} |
|
81 | {% endcache %} | |
82 |
{% if is_opening |
|
82 | {% if is_opening %} | |
83 | {% cache 600 post_thread thread.id thread.last_edit_time LANGUAGE_CODE need_open_link %} |
|
83 | {% cache 600 post_thread thread.id thread.last_edit_time LANGUAGE_CODE need_open_link %} | |
84 | <div class="metadata"> |
|
84 | <div class="metadata"> | |
85 | {% if is_opening and need_open_link %} |
|
85 | {% if is_opening and need_open_link %} |
General Comments 0
You need to be logged in to leave comments.
Login now