In your input form you need to pass the blog object id.

You should rather look into using the contrib.comments app rather than
reinventing the comments system.

Kellen

On Dec 10, 8:01 pm, Florian Lindner <[EMAIL PROTECTED]> wrote:
> Hello,
> I have this model:
>
> class BlogComment(Model):
>     blogEntry = ForeignKey(BlogEntry, edit_inline=STACKED,
> num_in_admin=1)
>     author = CharField(max_length=100, core=True)
>     authorMail = EmailField(blank=True)
>     content = TextField(core=True)
>
> Now I want to use the generic.create_update.create_object to create an
> BlogComment. My question is how to define which BlogEntry object it
> uses as ForeignKey?
>
> Thanks,
>
> Florian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to