Dirk Eschler
c48a6d90cf
Prepared 0.10.0 release.
2015-07-03 10:37:14 +02:00
Dirk Eschler
d0a3fe888a
Merge pull request #321 from lukaslundgren/master
...
Handle annotation fields when using values_list
2015-07-03 10:02:38 +02:00
Lukas Lundgren
a6511bca83
Handle annotation fields when using values_list
2015-07-01 11:22:33 +02:00
Dirk Eschler
620efeb660
Fixed broken shields and used flat-square style.
2015-06-28 23:18:47 +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
Dirk Eschler
a0ab83446e
Merge pull request #318 from zenoamaro/register-decorator
...
`translator.register` as a decorator
2015-05-23 16:00:39 +02:00
zenoamaro
78eaccb927
Satisfying flake8.
2015-05-23 01:19:16 +02:00
zenoamaro
6b5d9355cd
Added docs on registration using the decorator.
2015-05-22 23:58:30 +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
Dirk Eschler
6d3c36160f
Merge pull request #314 from Kniyl/fill_cache
...
Better support for django 1.8 (Fixes #304 )
2015-05-13 14:42:50 +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
Dirk Eschler
3a9fc92e58
Merge pull request #309 from ellmetha/master
...
Fixed translatable fields discovery with the new _meta API and generic relations
2015-05-06 12:21:30 +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
Dirk Eschler
2a63788e0d
Added requirements for 0.9 release (ref #299 ).
2015-04-16 10:46:15 +02:00
Jacek Tomaszewski
f6d02c1e5a
Fix deferring - enable skipped test ( #299 ).
2015-04-13 22:31:09 +02:00
Jacek Tomaszewski
896dc140c0
Fix testrunner for postgres (ref #299 ).
2015-04-13 08:57:01 +02:00
Jacek Tomaszewski
5d74f42c60
Add 1.8 test to tox.
2015-04-13 00:43:40 +02:00
Luca Corti
018716eb5f
Add tests for django 1.8 to travis.yml
2015-04-13 00:43:40 +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
Jacek Tomaszewski
b165d63555
Merge pull request #298 from Satchitananda/patch-1
...
Fix bug with select related (close #298 ).
2015-04-01 11:49:21 +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
Dirk Eschler
9dbf3f6397
Merge pull request #283 from amarandon/master
...
Update deprecated imports with Django >= 1.7
2014-11-14 15:52:27 +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
e806c03277
Let's check if flake8 in travis can read parameters from tox.ini.
2014-10-25 18:25:57 +02:00
Jacek Tomaszewski
f9cfdf8f24
Merge pull request #278 from wrwrwr/feature/flake8-config
...
Include flake8 config in tox.ini.
2014-10-25 18:19:54 +02:00
wrwrwr
ef45ac7544
Added flake8 config to tox.ini.
2014-10-25 16:45:57 +02: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
Jacek Tomaszewski
e30c3f4acd
Fix docs about usage with django-debug-toolbar ( close #271 ).
2014-10-18 10:26:59 +02:00
Dirk Eschler
553bfbefeb
Prepared 0.8 release (ref #268 ).
2014-10-06 15:08:22 +02:00
Jacek Tomaszewski
6844acdbdb
Merge pull request #267 from wrwrwr/fix-tabbed-admin-with-two-jqueries
...
Make tabbed admin work with two jQueries (fixed javascript scoping issue).
2014-10-04 19:30:05 +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
Jacek Tomaszewski
706757739d
Use Django 1.7 final release in tests.
2014-09-07 21:52:05 +02:00