Jamie Matthews
18535c7a38
Preserve existing query params in PaginatorMixin
...
Previously, generation of next/previous links would discard any existing
query parameters. This commit introduces a dependency on URLObject, which
is used to intelligently parse and modify URLs to ensure existing params
are preserved.
Addresses issues #107
2012-01-05 14:07:31 +00:00
Tom Christie
d53f7f45b4
Use 1.4's CSRFMiddleware, so that PUT and DELETE get CSRF validation if session authentication is being used
2011-12-14 20:10:06 +00:00
Tom Christie
5db422c9d3
Add pagination. Thanks @devioustree!
2011-12-09 13:37:53 +00:00
Tom Christie
8136a94ebe
Revert pagination stuff
...
This reverts commit d1af049698
.
2011-07-19 20:38:13 +01:00
Tom Drummond
d1af049698
Added tests for pagination
2011-07-19 18:00:50 +01:00
Tom Christie
4c590df712
typo in test
2011-07-11 20:53:05 +01:00
Craig Blaszczyk
91b9d0b2a3
remove hardcoded model._meta.many_to_many[0]; update mixin tests to test with 0, 1, or multiple groups
2011-07-08 18:14:52 +01:00
Craig Blaszczyk
6e6b35b5c0
add unit tests which show m2m creation failing for through table
2011-07-08 17:37:20 +01:00
Fernando Zunino
8a2944acdf
Tests for CreateModelMixin (unit and integration test via ListOrCreateModelView).
2011-07-07 23:33:39 -03:00