Re: Using ContentType to link two different objects together

2014-11-05 Thread Some Developer
On 05/11/2014 18:47, Carl Meyer wrote: On 11/05/2014 11:35 AM, Some Developer wrote: On 05/11/2014 18:16, Carl Meyer wrote: On 11/05/2014 11:09 AM, Some Developer wrote: I'm trying to write my own implementation of the Django comments framework for various reasons and am wondering how one wou

Re: Using ContentType to link two different objects together

2014-11-05 Thread Carl Meyer
On 11/05/2014 11:35 AM, Some Developer wrote: > On 05/11/2014 18:16, Carl Meyer wrote: >> On 11/05/2014 11:09 AM, Some Developer wrote: >>> I'm trying to write my own implementation of the Django comments >>> framework for various reasons and am wondering how one would link >>> comments to a partic

Re: Using ContentType to link two different objects together

2014-11-05 Thread Some Developer
On 05/11/2014 18:16, Carl Meyer wrote: Hi, On 11/05/2014 11:09 AM, Some Developer wrote: I'm trying to write my own implementation of the Django comments framework for various reasons and am wondering how one would link comments to a particular object (model) of another type. For instance I co

Re: Using ContentType to link two different objects together

2014-11-05 Thread Carl Meyer
Hi, On 11/05/2014 11:09 AM, Some Developer wrote: > I'm trying to write my own implementation of the Django comments > framework for various reasons and am wondering how one would link > comments to a particular object (model) of another type. For instance I > could have a ForeignKey in the Commen

Using ContentType to link two different objects together

2014-11-05 Thread Some Developer
Hi, I'm trying to write my own implementation of the Django comments framework for various reasons and am wondering how one would link comments to a particular object (model) of another type. For instance I could have a ForeignKey in the Comment model pointing to a Blog post article but that