Thank you for quick response. Now django show me the follow error message 
in /usr/local/lib/python2.7/dist-packages/drum/links/models.py 
              
>  self.keywords.add(AssignedKeyword(keyword=keyword)) 

>  instance isn't saved. Use bulk=False or save the object first.

I check out the code and found how to resolve it. I have to pass bulk=False 
to save method to bypass.

Oh yes, the more important question. Is it possible to add an existed tag 
manually when user adding a link?

Because I am using drum for international site, a lot of  languages, like 
Japanese, Korean, Arabic, Chinese, are not supported by the keyword extract 
method drum is using, which i found it in `save` method.

I though there are two approaches to solve the problem, to support 
different language:

1. allow visitors who submit the link to add tags either.
2. allow drum to support different word extract method, which i suppose the 
user can specified in settings.py.

I thought the first is easy, but 2nd is more powerful.

On Thursday, July 14, 2016 at 9:53:22 AM UTC+8, Stephen McDonald wrote:
>
> In Mezzanine they're called "keywords", so you should see that.
>
> I've just updated the readme to mention that.
>
> On Wed, Jul 13, 2016 at 10:31 PM, Lyric Wei <[email protected] 
> <javascript:>> wrote:
>
>> Hi there,
>>
>> I am using drum(https://github.com/stephenmcd/drum) as a news social 
>> website. drum is a Reddit / Hacker News clone for Mezzanine.
>>
>> Its document mentioned that 
>>
>> > This means that for auto-tagging to work, the tags must already exist 
>> in the database. You can either add them manually via the admin...
>>
>> But I can't find the way to add existed tags in the admin panel. Could 
>> you help me?
>>
>> Thank you.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Stephen McDonald
> http://jupo.org
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to