Stefan Wójcik
b47669403b
Format the codebase using Black ( #2109 )
...
This commit:
1. Formats all of our existing code using `black`.
2. Adds a note about using `black` to `CONTRIBUTING.rst`.
3. Runs `black --check` as part of CI (failing builds that aren't properly formatted).
2019-06-27 13:05:54 +02:00
Bastien Gérard
c60c2ee8d0
fix minor styling issue in tests
2019-02-25 22:33:36 +01:00
Bastien Gérard
003827e916
rewrote some poorly written assertions like: assertTrue(isinstance(a, b)) assertTrue(a==b) assertTrue(a!=b) assertTrue(a in b)
2018-09-06 21:47:06 +02:00
Danil
1d4b1870cf
to_db_fields fix ( #1553 )
2017-06-18 17:04:46 -07:00
Stefan Wójcik
c6cc013617
fix BaseQuerySet.fields when mixing exclusion/inclusion with complex values like $slice ( #1452 )
2016-12-28 11:40:57 -05:00
Stefan Wójcik
835d3c3d18
Improve the health of this package ( #1428 )
2016-12-11 18:49:21 -05:00
Ross Lawley
29c887f30b
Updated field filter logic - can now exclude subclass fields ( #443 )
2013-08-20 12:21:20 +00:00
Ross Lawley
b4777f7f4f
Fix test
2013-07-30 15:04:52 +00:00
Ross Lawley
a57d9a9303
Added regression test ( #418 )
2013-07-30 13:28:05 +00:00
Ross Lawley
e2f3406e89
Updated .only() behaviour - now like exclude it is chainable ( #202 )
2013-04-23 14:06:29 +00:00
Ross Lawley
1c10f3020b
Added support for multiple slices
...
Also made slicing chainable. (#170 ) (#190 ) (#191 )
2012-12-19 14:56:15 +00:00
Ross Lawley
3074dad293
Test mixing only, include and exclude #191
2012-12-19 13:58:22 +00:00
Ross Lawley
42f506adc6
Updates to test suite
2012-12-19 13:58:04 +00:00
Ross Lawley
50b755db0c
Split out queryset tests
2012-12-19 13:35:37 +00:00