I just started porting an app over to magic-removal and ran across this. The documentation (http://code.djangoproject.com/wiki/RemovingTheMagic#Descriptorfields) says that you can add a ForeignKey related object with either of:
reporter_obj.article_set.add(headline='Foo') reporter_obj.article_set.add(article_obj) However, the first one gives an exception: TypeError: add() got an unexpected keyword argument 'headline' I searched the ticket system and discovered that the first version works as: reporter_obj.article_set.create(headline='Foo') Was it intended to have two different methods for this? "add" for using a preexisting object and "create" for using keywords? I guess that makes sense, because create does an extra operation, but I could also see the case for keeping the API smaller. Just pointing it out in case this is something that got lost in the cracks. It would also help if someone who knows how its supposed to work could change the wiki. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---