Revision: 26938
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 17, 2010 10:07 by magicrebirth
Initial Code
from django.test.client import Client c = Client() response = c.post(\'/login/\', {\'username\': \'john\', \'password\': \'smith\'}) response.status_code # 200 response = c.get(\'/customer/details/\') response.content # \'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 ...\'
Initial URL
http://docs.djangoproject.com/en/1.1/topics/testing/
Initial Description
Initial Title
Django | Testing Django applications
Initial Tags
django
Initial Language
Django