Re: Django 1.4: session_key is None when calling a view with the test client

2012-04-13 Thread Kai Diefenbach
Hi Aymeric, On 2012-04-13 17:11:48 +, Aymeric Augustin said: On 13 avr. 2012, at 18:42, Kai Diefenbach wrote: Now my questions: Is this by intention? Can I get around that? Has this any meaning for the application in production? This is most likely a consequence of r17155 [1]. Okay,

Re: Django 1.4: session_key is None when calling a view with the test client

2012-04-13 Thread Aymeric Augustin
On 13 avr. 2012, at 18:42, Kai Diefenbach wrote: > Now my questions: Is this by intention? Can I get around that? Has this any > meaning for the application in production? Hello Kai, This is most likely a consequence of r17155 [1]. I'd like to understand if it's possible to trigger a

Django 1.4: session_key is None when calling a view with the test client

2012-04-13 Thread Kai Diefenbach
Hi, when I call a view with the test client (django.test.client.Client) like, for instance, so: self.client.post(reverse('lfs_login'), {'action': 'register', 'email': 't...@test.com', 'password_1': 'password', 'password_2': 'password'}) with Django 1.3.1 the session_key of session is set: