In case anyone else runs across this, the answer appears to be:
disable csrf protection while testing.
On Jan 8, 7:04 pm, Skylar Saveland wrote:
> I wondering what I'm doing wrong here. These views work as expected
> with a browser. I was looking to improve my test coverage.
>
> >>> c = Client(
I wondering what I'm doing wrong here. These views work as expected
with a browser. I was looking to improve my test coverage.
>>> c = Client()
>>> get_response = c.get( reverse('create', kwargs={'typ':'residential'}) )
>>> get_response.status_code
200
>>> post_response = c.post( reverse('create
2 matches
Mail list logo