Commit graph

540 commits

Author SHA1 Message Date
Sergey Tereschenko
4f5862465a Prepared 0.13-beta2 release 2019-02-13 00:05:28 +02:00
Sergey Tereschenko
08b0239fff fix linter warnings 2019-02-12 22:09:03 +02:00
partizan
459c84be56
Merge pull request #478 from yihuang/patch-1
Fix js error with new jQuery
2019-02-11 23:56:30 +02:00
yihuang
a822961c36
Fix js error with new jQuery
https://stackoverflow.com/a/37915907/645693
2018-10-20 11:17:57 +08:00
Maciej Wiśniowski
70ad126d7c added renderer attribute for django 2.1 compatibility 2018-09-11 10:05:30 +02:00
Borislav Petrović
458df66cb9 style: fixing flake8 warnings 2018-06-29 16:42:37 +02:00
Borislav Petrović
222e04822e fix: copy form defined widget attrs 2018-06-29 16:25:12 +02:00
Andrey Maslov
1a70900ba4 Fix Django 2 related object descriptor cache 2018-04-15 04:58:18 +03:00
Petr Dlouhý
0f67f39e34 fix testing in Django 2.0 2018-01-31 12:11:19 +01:00
Dirk Eschler
c9bb6a533d
Merge pull request #421 from helio-correia/translationtabs
Make it work if the admin are divided by tabs
2018-01-26 13:01:11 +01:00
Dirk Eschler
af5b7bf738 Merge branch 'master' of github.com:deschler/django-modeltranslation 2018-01-26 12:58:09 +01:00
Dirk Eschler
ccc6e85a31 Added distinct test (ref #368). 2018-01-26 12:57:49 +01:00
Dirk Eschler
23ba19bec0
Merge pull request #368 from virgilio/master
Add primary support to DISTINCT statement
2018-01-26 12:57:23 +01:00
Dirk Eschler
8ec460b789
Merge pull request #446 from ezawadzki/issue-445
Check if 'descendants' list has values
2018-01-26 12:43:52 +01:00
Dirk Eschler
ba71a707f7 Next release is going to be 0.13-beta1. 2018-01-26 10:33:57 +01:00
Dirk Eschler
413ee22c61 Merge branch '0.12.x' 2018-01-26 10:24:22 +01:00
Dirk Eschler
90e0a3630a Prepared 0.12.2 release. 2018-01-26 10:23:12 +01:00
AbdolHosein
fab3bd7cc7 Removes extra blank lines 2018-01-02 14:25:11 +03:30
AbdolHosein
dbb372137b Removes unwanted spaces 2018-01-02 14:17:02 +03:30
AbdolHosein
a1ae1d1aa3 Fixes the fail issue on test progress 2018-01-02 14:11:16 +03:30
AbdolHosein
631347da74 Patches the issue with the Django 2.0 release on. Fixes #436 2018-01-02 13:38:23 +03:30
Emilie
5f2576ec6c Check if 'descendants' list has values 2017-12-26 16:12:24 +01:00
Dirk Eschler
00fc7f1804
Merge pull request #398 from btoueg/patch-1
Fix order_by with expression
2017-12-20 21:53:05 +01:00
Dirk Eschler
49836c210d Satisfied flake8. 2017-11-24 15:14:40 +01:00
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
Helio Correia
f3175412aa Make it work if the admin are divided by tabs 2017-08-07 16:33:17 +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
Benjamin Toueg
ff189d68f5 Fix .defer(None) 2017-06-01 17:21:39 +02:00
Benjamin Toueg
0b7d356f23 Fix .select_related(None) 2017-06-01 17:21:39 +02:00
Benjamin Toueg
60c632fc6a Fix order_by with expression
Fix #375
2017-06-01 17:20:06 +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