![]() | 1 2code 2013-10-02 12:53:33 +08:00 via iPad something.tags.all() 不就是吗 |
2 click OP @2code 我想要red、green、delicious,不是[<Tag: red>, <Tag: green>, <Tag: delicious>] |
![]() | 3 wangchen 2013-10-02 14:24:05 +08:00 ![]() |
![]() | 4 wenbinwu 2013-10-02 14:57:08 +08:00 .tags.values_list('name', flat=True) ? |
![]() | 5 tioover 2013-10-02 16:25:59 +08:00 for something.tags.all(): print(...) |
![]() | 6 tioover 2013-10-02 16:26:45 +08:00 ![]() 打错了 for i in something.tags.all(): print(i.[???]) |