James Mulholland wrote: > temp.set_teams(data['teams']) > temp.save()
This looks like 0.91 syntax that was changed in 'magic-removal' process. Now it should look like this: temp = Message(...) temp.save() for id in data['teams']: temp.teams.add(Team(id)) BTW, save() should really go before adding teams because DB requires an object to already exist to relate it to another. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---