* ui_ux: => 0
* easy: => 0
Comment:
Not sure how to fix but I've added a test case which demonstrates the
described issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/12227#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Sharpek
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/12227#comment:5>
Comment (by Sharpek):
I' going to check&fix this issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/12227#comment:6>
Comment (by jamesbeith):
I’ve been experiencing this and am using `SERVER_NAME` and `host` as a
fix. Though as the number of tests I write for the project grows it
doesn’t seem the most ideal solution.
{{{
response = self.client.get('/redirect/', follow=True,
SERVER_NAME='www.testserver')
self.assertRedirects(response, '/result/', status_code=301,
host='www.testserver')
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/12227#comment:7>
* owner: Sharpek => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/12227#comment:8>