Django:Bind comments to any object

I am developing a custom commenting solution for my webapp.Can anyone tell me what's the logic behind binding comments to any model's object?I want to do something like {% customcomment%}.Django comments framework already does this.


the comments framework uses Content Types and generic relations to attach a comment to any record of any model.


you can extend django comments if you need to do something custom. you shouldn't need to roll your own. What specifically are you trying to achieve?

Need Your Help

Recursive Structure in yaml with Symfony2 Treebuilder

php symfony2 yaml config symfony2.4

Configuration in Symfony is equal to valdiating the configuration.

Zurb Foundation grid move the last column to left

html css zurb-foundation grid-system zurb-foundation-5

I'm trying to figure out a good way to utilize the grid without hacking it at all.