Malcolm, thanks for the answer. I should have better read src of
client.py.
default for query environment can be overridden like so:
c = Client(REMOTE_ADDR ='127.0.0.1') - this solves my problem!
> Work out which standards are relevant. If REMOTE_ADDR *must* be supplied
> by all web servers, th
On Fri, 2008-01-04 at 14:30 -0800, Thomas wrote:
> I am testing django.contrib.comments with django.test.client that does
> not provide request.META['REMOTE_ADDR'] and therefore dies at
> http://code.djangoproject.com/browser/django/trunk/django/contrib/comments/views/comments.py#L252
>
> There
I am testing django.contrib.comments with django.test.client that does
not provide request.META['REMOTE_ADDR'] and therefore dies at
http://code.djangoproject.com/browser/django/trunk/django/contrib/comments/views/comments.py#L252
There has been a ticked #407 but that did not change all
request.M
3 matches
Mail list logo