Commits

Carl Meyer committed 7204c25

Add url property to DjangoWebtestResponse so assertRedirects works in 1.6.

Comments (0)

Files changed (1)

django_webtest/response.py

         return self.body
 
     @property
+    def url(self):
+        return self['location']
+
+    @property
     def client(self):
         client = Client()
         client.cookies = SimpleCookie()