It's normal behaviour:) GenericRelation is just "fake" field that
doesn't produce real table field
On 20 дек, 16:23, madhav <[EMAIL PROTECTED]> wrote:
> I did it, but its not showing up the new field(which is "summary" in
> my case) in the Create Statement, nor is at the Alter table part.
>
> On
I did it, but its not showing up the new field(which is "summary" in
my case) in the Create Statement, nor is at the Alter table part.
On Dec 20, 5:59 pm, "Patryk Zawadzki" <[EMAIL PROTECTED]> wrote:
> 2007/12/20, madhav <[EMAIL PROTECTED]>:
>
>
>
>
>
> > as a part of using generic relations, i
See CREATE sql statements for example
On 20 дек, 15:52, madhav <[EMAIL PROTECTED]> wrote:
> as a part of using generic relations, i got struck up at one point,
> where i need to run the sql to have a field:
> summary = generic.GenericRelation(Summary)
>
> where Summary is a class defined as:
> c
2007/12/20, madhav <[EMAIL PROTECTED]>:
>
> as a part of using generic relations, i got struck up at one point,
> where i need to run the sql to have a field:
> summary = generic.GenericRelation(Summary)
>
> where Summary is a class defined as:
> class Summary(models.Model):
> id = models.Aut
as a part of using generic relations, i got struck up at one point,
where i need to run the sql to have a field:
summary = generic.GenericRelation(Summary)
where Summary is a class defined as:
class Summary(models.Model):
id = models.AutoField(primary_key=True)
content_type = models.Fore