On Mon, 2007-09-17 at 10:14 +0200, Michal Konvalinka wrote: > Hi, > I have upgraded my django from 0.96 to trunk and found out that Adrian > had removed dictfetchone() with reason that "it wasn't being used > anywhere". That's not true, I was using it :-) > > http://code.djangoproject.com/changeset/5968 > > Is there any similar function to this one? I found this function really > useful.
Copy the code from the old dictfetchone into one of your own common library files. It's only a few lines, after all. You'll have to tweak it slightly to get the cursor from the right place, but you have access to all the facilities you need to construct the dictionary yourself. Regards, Malcolm -- Many are called, few volunteer. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

