Dirk Eschler
0c50dffefe
Merge pull request #431 from Schnouki/fix-m2m-and-inherited-managers
...
Fix M2M and inherited managers
2017-11-24 14:38:37 +01:00
Ben Lopatin
2438300915
Add docstring documentation for utils.unique
2017-10-28 20:56:49 -04:00
Thomas Jost
22423047e9
Correctly patch all managers in Django 1.10+
...
Fixes #389 and #413 .
2017-09-26 16:29:20 +02:00
Thomas Jost
019d116434
Add (failing) tests for inherited managers and M2M relationships
...
With several level of inheritance, custom managers with custom
querysets, and a ManyToMany field with an explicit intermediary table.
This reproduces bugs #389 and #413 .
2017-09-26 16:27:22 +02:00
Florian Demmer
4ec3a4b4b0
Fix import with django < 1.7
2017-09-18 01:23:31 +02:00
Florian Demmer
8457782380
Get related model from field's path_info
...
related_model is a cached property, that contains a string
instead of the model eg. when overriding the default User model.
2017-09-18 01:23:06 +02:00
Donald Harvey
f64dd56002
Support django-nested-admin stacked inlines
2017-09-09 12:09:35 +01:00
Tocho Tochev
74929c2055
Fix reset of .select_related
2017-07-25 13:31:57 +03:00
Mariusz Felisiak
a7b484d10a
Used Meta.base_manager_name on model instead of Manager.use_for_related_fields.
2017-06-23 21:10:23 +02:00
Dirk Eschler
e28addcf45
Merge branch 'master' into remove-unused
2017-06-23 19:05:55 +02:00
Mariusz Felisiak
5f66a44649
Removed unused code.
...
Unused since cc214e3c66 .
2017-06-23 06:49:38 +02:00
Mariusz Felisiak
c93857c623
Used set() instead of direct assignment to the reverse side of a related set.
2017-06-22 22:20:06 +02:00
Mariusz Felisiak
b64ddf2e20
Used model attribute instead of deprecated ForeignObjectRel.to.
2017-06-22 22:15:37 +02:00
Mariusz Felisiak
7a823ea474
Added required on_delete attribute to OneToOneField and ForeignKey fields.
2017-06-22 22:03:07 +02:00
Dirk Eschler
dbb9becd09
Set empty MIGRATION_MODULES setting for Django 1.11. Should make the tests run again.
2017-04-13 12:05:38 +02:00
Dirk Eschler
46488f1abc
Handled import_models args change for Django 1.11.
2017-04-13 12:02:38 +02:00
Dirk Eschler
2c5fb88771
Merge pull request #371 from LeGast00n/master
...
Works with collapsed admin elements
2017-04-08 10:38:17 +02:00
Dirk Eschler
5d31cbb76d
Merge pull request #406 from fvgoto/patch-1
...
FALLBACK_LANGUAGES['default'] needs to be tuple
2017-04-08 10:37:14 +02:00
Dirk Eschler
74e3f66ff4
Merge pull request #404 from helio-correia/wysiwyg-quill
...
Modify javascript to also consider the div for using wysiwyg like Quill
2017-04-08 10:34:56 +02:00
Dirk Eschler
0dad9beefd
Prepared 0.12.1 release.
2017-04-05 14:03:25 +02:00
Florian Verdet
576fe159ed
settings: fix keep FALLBACK_LANGUAGES as tuple
...
required to be tuple at: modeltranslation/utils.py#L117
2017-03-19 06:09:36 +01:00
Helio Correia
4b07119c30
Modify javascript to also consider the div for using wysiwyg like Quill
2017-03-08 12:00:23 +00:00
Dirk Eschler
85e26e3842
Removed superfluous can_import_settings check. The option has been removed in Django 1.11.
2017-02-22 14:17:27 +01:00
Dirk Eschler
257f59de97
Prepared 0.12 release.
2016-09-20 18:07:15 +02:00
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
Primož Kerin
5c93fd6b7f
Make sync_translation_fields command Django 1.10 compatible
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
LAI
9fc4a44080
Works with collapsed admin elements
2016-05-13 10:01:57 +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
Pavel Sutyrin
3f4d48dd5a
let register decorator return decorated class
2016-02-04 02:20:35 +03:00
Dirk Eschler
276ee5be8a
Prepared 0.11 release.
2016-01-31 20:03:11 +01:00
Dirk Eschler
9ca0bc47b3
Prepared 0.11rc2 release.
2015-12-15 13:42:17 +01:00
Jacek Tomaszewski
e50b0ce7a4
Try to fix custom manager in migrations (ref #330 , #339 , #350 ).
2015-12-13 15:47:08 +01:00
Dirk Eschler
a4b9f42d52
Changed version mapping so that rc is kept.
2015-12-07 10:47:32 +01:00
Dirk Eschler
27eccfda67
Prepared 0.11rc1 release.
2015-12-07 10:43:07 +01:00
Jacek Tomaszewski
caab290048
Fix travis for Python 3.5 adn 3.2; fix migrations for Django 1.9 (ref #349 ).
2015-12-07 00:23:17 +01:00
Jacek Tomaszewski
8320fc8a5a
Add Django 1.9 support (ref #349 ).
2015-12-06 18:48:17 +01:00
Dirk Eschler
1986e1ae15
Prepared 0.10.2 release.
2015-10-27 10:38:05 +01:00
Stratos Moros
84ff47d7af
fix proxy model inheritance for django >=1.8
2015-10-21 12:22:29 +03:00
Dirk Eschler
3df9d3e5d3
Prepared 0.10.1 release.
2015-09-04 10:59:50 +02: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
Dirk Eschler
c48a6d90cf
Prepared 0.10.0 release.
2015-07-03 10:37:14 +02:00
Lukas Lundgren
a6511bca83
Handle annotation fields when using values_list
2015-07-01 11:22:33 +02:00
Dirk Eschler
2f7cfe70bc
Merge pull request #317 from oliphunt/master
...
Add mt-bidi class to input fields for bi-directional languages.
2015-06-16 20:43:56 +02:00
oliphunt
28eb14e4fa
CS fixes.
2015-05-26 12:18:45 +01:00
zenoamaro
78eaccb927
Satisfying flake8.
2015-05-23 01:19:16 +02:00
zenoamaro
80d804b03e
Testing registration with decorator.
2015-05-22 23:49:11 +02:00
zenoamaro
9674667261
Added decorator equivalent for translator.register.
2015-05-22 23:31:40 +02:00