On 10/8/07, cjl <[EMAIL PROTECTED]> wrote:
>
> I'm a newcomer, so forgive my ignorance, but what real world
> situations are recursive relationships good for?
>
> I was reading:
>
> http://www.djangoproject.com/documentation/model-api/#relationships
>
> They mention "recursive relationships", but
I'm a newcomer, so forgive my ignorance, but what real world
situations are recursive relationships good for?
I was reading:
http://www.djangoproject.com/documentation/model-api/#relationships
They mention "recursive relationships", but I couldn't really figure
out what real world problem this
On 10/7/07, Oleg Korsak <[EMAIL PROTECTED]> wrote:
> hello! is it possible to do something like that?:
>
> class ModelClass(models.Model):
> parent = models.ForeignKey(ModelClass,blank=True,null=True)
Yes, and the exact technique you'll need is covered in the documentation.
--
"Bureaucr
hello! is it possible to do something like that?:
class ModelClass(models.Model):
parent = models.ForeignKey(ModelClass,blank=True,null=True)
signature.asc
Description: OpenPGP digital signature
4 matches
Mail list logo