On Thu, Jun 23, 2011 at 4:36 PM, Matthew Gardner <mjg82@byu.edu> wrote:Verb.objects.create(word=word) doesn't fulfill these criteria?
> At this point, all I really want to do is add a row to the verb table that
> contains the correct foreign key, without creating a new row in the word
> table.
When I run that, I get "TypeError: 'word' is an invalid keyword argument for this function." So, nope, unless I'm doing something wrong. Note that Verb inherits from Word, so there is no explicit "word" field in Verb.
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment