MySQLdb on Ubuntu 10.10

2010-10-12 Thread Will McGugan
Hi, I've just upgraded my development machine from Ubuntu 10.04 to 10.10. Unfortunately, now my Django apps wont start, I get the following traceback on runserver: File "/usr/local/lib/python2.6/dist-packages/django/core/management/ commands/runserver.py", line 48, in inner_run

get_or_create not atomic?

2009-05-12 Thread Will McGugan
I was creating. Both requests detected that the object didn't exist and went on to create a new one. Could this be the case? And if so, should I not expect 'get_or_create' to be an atomic operation? Regards, Will McGugan -- Will McGugan http://www.willmcgugan.com

I'm moving to Oxford

2009-01-14 Thread Will McGugan
internet access at home from tomorrow, so apologies if emails go unanswered till I get broadband again! So long, London! Will -- Will McGugan http://www.willmcgugan.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Change message unicode issue

2008-12-05 Thread Will McGugan
in construct_change_message 347. change_message.append(_('Changed %(list)s for %(name)s "%(object)s".') ... -- Will McGugan http://www.willmcgugan.com --~--~-~--~~~---~--~~ You received this message because you are

Are Querysets threadsafe?

2008-10-29 Thread Will McGugan
Hi, Are querysets threadsafe? i.e. If a query set object is shared across requests, will it cause any issues? I ask because some of the code in django/db/models/query.py looks like it might access the same resources if called simultaneously from two threads. Regards, Will McGugan http