Commit graph

188 commits

Author SHA1 Message Date
Matthias Kestenholz
b6cc6888af Remove the unsupported use-mirrors pip option
Remove the duplicated make_option import

Pin flake8's version to <3 as long as we are still supporting Python 2.6

Stop complaining (F999) about the assert

Fix travis.py for now

This will fail again as soon as Django 2.0 is released.
2016-09-14 12:35:58 +02:00
Jacek Tomaszewski
a7b5102c43 Fix deferred classes signal connection (close #379). 2016-08-19 21:23:45 +02:00
Jacek Tomaszewski
302c931fe0 Django 1.10 integration (ref #381) 2016-08-19 21:23:45 +02:00
Jacek Tomaszewski
2f227a45af Fix values_list + annotate combo bug (close #374). 2016-06-01 19:02:30 +02:00
Matthias Kestenholz
dad7cc7ba6 Slightly reformat code to avoid flake8 errors
These changes hopefully fix the Travis CI build.
2016-02-20 11:21:07 +01:00
Jacek Tomaszewski
e50b0ce7a4 Try to fix custom manager in migrations (ref #330, #339, #350). 2015-12-13 15:47:08 +01:00
Jacek Tomaszewski
8320fc8a5a Add Django 1.9 support (ref #349). 2015-12-06 18:48:17 +01:00
Venelin Stoykov
a39dee2b78 Fix FallbackValuesListQuerySet.iterator
This will fix generated result when creating valueslist queryset
with annotation and flat=True

Fixes #324
2015-09-03 10:04:54 +03:00
Lukas Lundgren
a6511bca83 Handle annotation fields when using values_list 2015-07-01 11:22:33 +02:00
zenoamaro
80d804b03e Testing registration with decorator. 2015-05-22 23:49:11 +02:00
Jacek Tomaszewski
f6d02c1e5a Fix deferring - enable skipped test (#299). 2015-04-13 22:31:09 +02:00
Jacek Tomaszewski
d8e6f32cbd Django 1.8 compatibility changes (ref #299).
Thanks to Luca Corti for initial commit.
2015-04-13 00:43:09 +02:00
Jacek Tomaszewski
af672f3160 Merge pull request #275 from wrwrwr/fix/indonesian
Fix support for Indonesian language ('_id' language suffix).
2014-10-24 20:21:29 +02:00
Jacek Tomaszewski
04b67f66d7 Add __reduce__ to MultilingualQuerySet (ref #273). 2014-10-24 19:54:10 +02:00
wrwrwr
902a7c9a72 Fixed Indonesian translation field and ForeignKey field name clash.
The official ISO-639-1 code for Indonesia is "id"; replaced this
problematic suffix with the ISO-639-2 3-letter code in the translation
field names (http://en.wikipedia.org/wiki/Indonesian_language).
2014-10-24 13:05:10 +02:00
Jacek Tomaszewski
8047a4dcda Add empty MIDDLEWARE_CLASSES to test settings in order to disable system check warning. 2014-09-07 21:43:58 +02:00
Jacek Tomaszewski
e59cf5a4cd Readd GenericIp field support and tests as we now require Django >= 1.4. 2014-08-02 16:42:14 +02:00
Jacek Tomaszewski
19c2a90e9f Add fallback to values and values_list (close #258). 2014-07-29 17:42:17 +03:00
deschler
59317a4c12 Consistent use of django version check. 2014-07-28 00:03:50 +02:00
deschler
89e372a743 Added list_editable test. 2014-07-27 22:28:45 +02:00
Jacek Tomaszewski
1f419ee5f4 Fix dict iteration Exception under Python3 (close #256). 2014-07-16 09:47:17 +02:00
Jacek Tomaszewski
17f3d96ccc Rewrite spanned queries on all levels for defer/only (close #248).
Also:
- optimize fields to related model access
- more elegant way to access DefferedModel real class
- fix select_related rewriting and add some code to contemplate possible solutions
- update docs about select_related
- add 2 test for implemented features
2014-07-09 23:19:48 +02:00
Jacek Tomaszewski
7a7b3fbc3b Rewrite field names in select_related; fix deffered models registry lookup (close #248). 2014-07-06 19:36:46 +02:00
Jacek Tomaszewski
58e06c464d Fix MultilingualManager MRO (close #204). 2014-07-06 14:39:53 +02:00
Jacek Tomaszewski
8e10664745 Support AppConfigs in INSTALLED_APPS (close #252).
Thanks Warnar Boekkooi for initial commit.
2014-06-24 20:10:47 +02:00
Jacek Tomaszewski
973bb78bda Fix Django 1.7 DeprecationWarnings. 2014-06-09 23:32:22 +02:00
Jacek Tomaszewski
ad48582270 Fix tests to work with Django 1.7. 2014-06-09 23:32:21 +02:00
Jacek Tomaszewski
1d7e0876ec Satisfy new flake8 version. 2014-03-27 00:39:41 +01:00
Jacek Tomaszewski
52f94cc588 Repair tests: don't use absolute pk values. 2014-03-22 10:32:07 +01:00
Jacek Tomaszewski
88a89b3a5e Fix values_list without fields; refactor tests (ref #263). 2014-03-22 10:25:41 +01:00
Jacek Tomaszewski
cc6a13ddee Fix test: there already was a method called test_values.... (ref #263). 2014-03-22 00:27:08 +01:00
Jacek Tomaszewski
ae8a331893 Fix .values() with no fields specified (close #236). 2014-03-22 00:12:34 +01:00
Dirk Eschler
591e945c33 Add more control over required languages (close #143). 2014-03-15 15:18:52 +01:00
Jacek Tomaszewski
b55917303f Fix tests to reflect changes in group fieldset capitalization (ref #234). 2014-03-15 14:10:05 +01:00
Jacek Tomaszewski
85ddf84b8f PEP8 fix. 2014-03-13 19:58:03 +01:00
Jacek Tomaszewski
fb8155a4a5 Fix exclude for nullable field Manager Rewriting (#231). 2014-02-25 22:06:55 +01:00
Jacek Tomaszewski
a15b6f8949 Fixes for flake8. 2014-01-19 22:30:45 +01:00
Jacek Tomaszewski
fb98c370ec Make testrunner compatible with Django 1.6. 2014-01-19 22:27:33 +01:00
Jacek Tomaszewski
76da9bf92e Some python3 compatibility fixes (close #220). 2013-12-29 11:00:53 +01:00
Jacek Tomaszewski
9a5fe20140 Fix empty FileField handling (close #215). 2013-11-13 19:04:42 +01:00
Jacek Tomaszewski
71af06c7c9 Add configurable formfields (close #211, ref #163, #187).
This will hopefully at last resolve the problem with nullable CharFields.
2013-10-23 15:40:45 +02:00
Jacek Tomaszewski
1a5cd23cdf Make values, values_list and dates language-aware (close #173). 2013-10-12 16:58:36 +02:00
Jacek Tomaszewski
49c406d760 Add caching test for relation fields. 2013-10-12 14:09:39 +02:00
Jacek Tomaszewski
0e76f1ec7d Add OneToOneField support. 2013-10-12 13:58:57 +02:00
Jacek Tomaszewski
2853c47710 Try to fix Postgres transaction errors in Django 1.5. 2013-10-11 21:29:51 +02:00
Jacek Tomaszewski
c0fcb8ceb4 Fix test running under Postgres. 2013-10-11 20:30:58 +02:00
Jacek Tomaszewski
8a2c8b894e Add more prepopulated_fields tests. 2013-10-10 16:54:15 +02:00
Jacek Tomaszewski
73d845921a Make every manager MultiLingual, not only objects (close #198). 2013-10-10 15:27:27 +02:00
Jacek Tomaszewski
74df71bdf2 Merge pull request #163 from wrwrwr/feature/no-empty-string-fallback-for-nullable
Fallback on field default rather than the empty string
2013-09-01 10:52:00 -07:00
Dirk Eschler
cc5687e4d0 Merged test-unique-nullable-fields branch into master. 2013-06-18 11:09:14 +02:00