Commit 55e3273d authored by 李小芳's avatar 李小芳

add

parent 07550381
......@@ -376,7 +376,7 @@ class QuestionTag(models.Model):
question = models.ForeignKey(Question, related_name='qtags')
tag = fields.MagicField(type=int, manager=TagManager, ttl=60 * 60 * 24, db_column="tag_id")
def get_name_list(tag_list):
def get_name_list(self,tag_list):
logging.info("get tag_list:%s" % tag_list)
manager = TagManager()
name = list()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment