Details
Description
For example c.post will never raise an exception (only ajax calls seem to have a flag returned).
from django.test.client import Client c = Client() response = c.post('/login/', {'username': 'john', 'password': 'smith'})
For example c.post will never raise an exception (only ajax calls seem to have a flag returned).
from django.test.client import Client c = Client() response = c.post('/login/', {'username': 'john', 'password': 'smith'})