On Dec 18, 6:16 am, sagi s wrote:
> I'd like to use the test client to verify that when there's an error
> in a form field, the input field in the
> response is populated with the original input.
>
> So I'd like to do something like:
>
> iteration = 'bad data'
> response = self.client.post('/metr
I'd like to use the test client to verify that when there's an error
in a form field, the input field in the
response is populated with the original input.
So I'd like to do something like:
iteration = 'bad data'
response = self.client.post('/metrics/add/', {
'iteration' : iterat
2 matches
Mail list logo