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
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
oliphunt
9480dba1c5
Add mt-bidi class to input fields for bi-directional languages.
2015-05-21 12:54:38 +01:00
deschler
c4f80c77e9
Prepared 0.9.1 release (ref #304 ).
2015-05-14 13:40:23 +02:00
Mathias
f23e2f7ee2
Better support for django 1.8 ( Fixes #304 )
2015-05-13 14:06:44 +02:00
Dirk Eschler
15c7d9d6f6
Omitted transaction.commit_unless_managed() call for newer Django versions. This is handled by the transaction system in Django 1.6 and above ( close #310 ).
2015-05-06 14:18:32 +02:00
Dirk Eschler
1f7ce84bf2
Fixed deprecated meta api usage for Django 1.8, module_name was renamed to model_name (ref #310 ).
2015-05-06 12:35:57 +02:00
ellmetha
54883a13cf
Comment added to the previous fix
2015-05-04 13:57:23 +02:00
ellmetha
c34ae160d1
Fixed translatable fields discovery with the new _meta API and generic relations
2015-05-04 13:52:06 +02:00
Dirk Eschler
9c7ac4e02d
Prepared 0.9 release (ref #299 ).
2015-04-16 10:51:15 +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
deschler
01bc89f5b7
Prepared 0.8.1 release (ref #298 ).
2015-04-02 12:46:23 +02:00
Jacek Tomaszewski
db30a48e44
Merge pull request #297 from fabiocaccamo/master
...
Add $.browser plugin (ref #270 ).
2015-04-01 11:55:20 +02:00
Vladimir Sinitsin
36e331c73e
Damn bug when using a queryset with select related
...
Please fix it and upload a fixed version on PyPI
2015-04-01 15:30:20 +06:00
Fabio Caccamo
1fc52f9918
add missed jquery browser plugin
2015-03-12 18:01:52 +01:00
Fabio Caccamo
4d1f5af129
add missed jquery browser plugin
2015-03-12 17:58:56 +01:00
Alex Marandon
352902556e
Update deprecated imports with Django >= 1.7
2014-11-14 15:14:55 +01:00
Dirk Eschler
bd0ea50c50
Set TabbedTranslationAdmin class depending on Django version. Added a new class for Django 1.5 which depends on older jquery/jquery-ui versions. Updated the jquery/jquery-ui versions for the existing admin classes (ref #270 ).
2014-10-29 17:01:33 +01:00
Jacek Tomaszewski
369293b14d
Get language getting from the field attribute rather than name.
...
The method seems to be not used anymore, but fix it nevertheless.
2014-10-24 20:23:10 +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
ef8e0b323f
Ensure AVAILABLE_LANGUAGES is a list ( close #272 ).
2014-10-24 09:24:35 +02:00
Dirk Eschler
553bfbefeb
Prepared 0.8 release (ref #268 ).
2014-10-06 15:08:22 +02:00
wrwrwr
6026a91741
A more elegant solution suggested by zlorf.
2014-10-04 19:16:18 +02:00
wrwrwr
b06e49921b
Fixed shadowing of jQuery referenced by a global `jQuery variable by django.jQuery`
...
in the tabbed admin script.
Javascript has a nasty semantic of moving initializers to the beginning of a block, thus
rewritting ``var a = a || b`` as ``var a; a = a || b``. With such a code, if ``a`` starts
as a global variable with some value, you could think that it would end up having the same
value, but it is actually first set to ``undefined`` at the beginning of the block and
then always set to ``b`` in the statement [1][2].
This is mostly of importance if you actually have more than one jQuery loaded.
For instance, this happens with Mezzanine -- first Grappelli-safe loads a copy, and calls
``$.noConflict`` thus storing its version as ``jQuery``, second is Django, loading another
copy and calling ``django.jQuery = jQuery.noConflict(true)``. So far so good, we have one
copy on ``jQuery`` and another on ``django.jQuery``; jQuery UI chooses to load itself onto
the ``jQuery`` (Grappelli) copy. But now runs the tabbed_translation_fields script, hiding
the jQuery with UI loaded at the very beggining of the first block, and a moment later
complaining that ``.tabs()`` or something else is not defined.
[1]: http://www.ecma-international.org/ecma-262/5.1/#sec-12.2 (note the first paragraph after the grammar)
[2]: http://stackoverflow.com/questions/500431/what-is-the-scope-of-variables-in-javascript (point 8)
2014-10-04 17:52:21 +02:00