On December 29, 7:18 pm "martin xus" <[EMAIL PROTECTED]> wrote:
>
> here are the codes:
> from django.core import meta
>
> class Category(meta.Model):
> name = meta.CharField(maxlength=20)
> parent = meta.ForeignKey('self', null=True, related_name='child')
>
>
> http://www.djangoproject.co
Hi All
Just wonderin how to do a 'self join'? havent found anything in docs, so If
I've missed it - appoligies, please let me know.
this is the kind of thing I mean:
class some_object(meta.Model):
object_name = meta.CharField(maxlength=200)
another_field = meta.IntegerField(default=0)
Thanks - nice answer - gives me the sense of things I was looking for -
ditto to oggie rob
havin a blast already
cyas
On Mon, 2005-12-05 at 16:49 +0100, Daniel Ericsson wrote:
> On 5 dec 2005, at 13.25, maskedbeagle wrote:
>
> > What Im specifically wondering relates to organisatio
Hi all
hope this is a suitable place for newbies to make nieve blurts and
questions - if not tell me to piss off and perhaps even direct me to the
right forum...
Im evaluating web frameworks - and what Im mainly hoping for is one that
allows me as much opportunity to organise things as Id like -
4 matches
Mail list logo