Re: Django User Registration tutorial

2010-03-06 Thread Ilya Braude
Hudar wrote: Hello, I am new to django and still go through the tutorial. Just made a simple registration form using django and found this error : http://dpaste.com/168746/ Below are the register function I wrote : def register(request): if request.method == "POST": form =

Re: problem with objects.get(id=None)

2010-03-06 Thread Ilya Braude
Masklinn wrote: On 6 Mar 2010, at 05:43 , Ilya Braude wrote: Karen Tracey wrote: I'm guessing you are using MySQL That's just how it behaves, by default. See: http://dev.mysql.com/doc/refman/5.1/en/server-session-variables.html#sysvar_sql_auto_is_null Wow, thanks. I now see

Re: problem with objects.get(id=None)

2010-03-05 Thread Ilya Braude
Karen Tracey wrote: I'm guessing you are using MySQL That's just how it behaves, by default. See: http://dev.mysql.com/doc/refman/5.1/en/server-session-variables.html#sysvar_sql_auto_is_null Wow, thanks. I now see that this has been brought up a few times before. This MySQL behavior

Re: problem with objects.get(id=None)

2010-03-05 Thread Ilya Braude
Ilya Braude wrote: Hello! I've run into a problem when calling .get on a related field manager with id = None. As far as I understand, doing an objects.get(id=None) should throw a DoesNotExist exception. However, it seems that there is some caching going on, as demonstrated in this trivial

problem with objects.get(id=None)

2010-03-05 Thread Ilya Braude
Hello! I've run into a problem when calling .get on a related field manager with id = None. As far as I understand, doing an objects.get(id=None) should throw a DoesNotExist exception. However, it seems that there is some caching going on, as demonstrated in this trivial example:

Re: changing code = restarting django??

2008-09-05 Thread Ilya Braude
ation section for each project so that django doesn't mix requests between projects. Replace with any unique string. Ilya -- Ilya Braude Lead Software Engineer Drakontas LLC --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google