Package django :: Package contrib :: Package comments :: Module models :: Class UserFlagManager
[hide private]
[frames] | no frames]

Class UserFlagManager

source code

db.models.Manager --+
                    |
                   UserFlagManager

Instance Methods [hide private]
 
flag(self, comment, user)
Flags the given comment by the given user.
source code
Method Details [hide private]

flag(self, comment, user)

source code 

Flags the given comment by the given user. If the comment has already been flagged by the user, or it was a comment posted by the user, nothing happens.