On Fri, 2006-07-07 at 10:53 +0000, pault wrote: > I receive > 'Manager' object has no attribute 'get_or_create' > > I keep on getting this error in this code: > try: > desc = 'blabla' > t, created = Text.objects.get_or_create(tag=desc) > except Exception, e: > str(e) > i am using the development version and maybe thats the reason for the > error >
That should work correctly. When you say "the development version", do you mean an up-to-date svn checkout or something else? Can you post details of the Text model so that we can have a glance over it, maybe? Thanks, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

