Jacek Tomaszewski
656dca3e40
Show None checkboxes on form fields, especially admin ( close #187 ).
2013-10-10 23:05:26 +02:00
Jacek Tomaszewski
ca11558bd9
Fix compatibility with older jQuery.
2013-10-10 22:57:59 +02:00
Jacek Tomaszewski
f022f80940
Update docs about manager patching.
2013-10-10 22:31:49 +02:00
Jacek Tomaszewski
5719bf9369
Clarify docs about fallback usage ( close #182 ).
2013-10-10 22:27:29 +02:00
Jacek Tomaszewski
8a2c8b894e
Add more prepopulated_fields tests.
2013-10-10 16:54:15 +02:00
Jacek Tomaszewski
c7f0eee273
Don't import individual settings.
2013-10-10 16:47:56 +02:00
Jacek Tomaszewski
489e2db145
Merge remote branch.
...
Fix _patch_prepopulated_fields (close #190 , #181 ).
2013-10-10 16:45:39 +02:00
Jacek Tomaszewski
88b90fabae
Use ugettext_lazy instead of ugettext ( close #202 ).
2013-10-10 16:07:01 +02:00
Jacek Tomaszewski
73d845921a
Make every manager MultiLingual, not only objects ( close #198 ).
2013-10-10 15:27:27 +02:00
Jacek Tomaszewski
e3954828c4
Update docs: say about USE_I18N.
2013-09-27 09:36:56 +02:00
Jacek Tomaszewski
03710aa096
Update Changelog.
2013-09-27 09:36:03 +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
d7ace001f2
Fixed flake8 errors.
2013-08-27 12:18:42 +02:00
Dirk Eschler
de8a9d6290
Merge pull request #194 from wojas/prepopulated-fields-configure-language
...
Added MODELTRANSLATION_PREPOPULATE_LANGUAGE setting to force prepopulate...
2013-08-27 03:02:18 -07:00
Konrad Wojas
e503e09aec
Added docs for MODELTRANSLATION_PREPOPULATE_LANGUAGE
2013-07-23 16:20:00 +08:00
Konrad Wojas
b9d8359306
Added MODELTRANSLATION_PREPOPULATE_LANGUAGE setting to force prepopulated fields (slugs) to use a specific language as their source
2013-07-23 16:07:41 +08:00
Rafleze
23ca52ceef
Update admin.py
...
Improvements on _patch_prepopulated_fields
2013-07-08 21:22:58 +02:00
Dirk Eschler
cc5687e4d0
Merged test-unique-nullable-fields branch into master.
2013-06-18 11:09:14 +02:00
Dirk Eschler
a51e5d0c39
Merged pull request #186 .
2013-05-27 12:18:41 +02:00
Dirk Eschler
fdc0756698
Updated changelog.
2013-05-27 10:48:11 +02:00
deschler
20d7e21809
Added basic ProxyModel test cases (ref #185 ).
2013-05-26 20:22:39 +02:00
deschler
7568229524
Disabled doctests which are automatically run by latest pyflakes version. Resolves a fail in admin.py docstrings which contain doctest-like comments.
2013-05-23 23:28:32 +02:00
deschler
a26bdd8041
Fixed flake8 errors.
2013-05-23 23:11:54 +02:00
cuchac
dfc49971dc
Fix #179 : --noinput option for the sync_translation_fields command
2013-05-23 13:43:31 +02:00
wrwrwr
d95258cd02
Test updating existing translation with an empty value through a form that doesn't include the original, translated field.
2013-05-16 12:29:25 +02:00
wrwrwr
4cc0d2b25e
Python 3 compatiblity: no unicode literals for 3.2 and safeguard against loop during copy operation.
2013-05-15 16:50:14 +02:00
wrwrwr
027349bd9a
Set self to something in the replace_orig_field doctest, so PyFlakes doesn't complain.
2013-05-15 12:37:14 +02:00
wrwrwr
7cd60aa977
Added a small script unchecking the clear box after a wrapped input is edited.
...
Note: Starting global declaration, and the somewhat ugly jQuery call are for JSLint.
Also written a class comment for the widget wrapper and cleaned up some Flake8 errors.
2013-05-15 12:01:46 +02:00
wrwrwr
22faea9646
Reworked the solution by replacing clearable widgets with a widget wrapper. This makes it possible to wrap only widgets of nullable fields, and thus not add the clear checkbox when it's not needed.
...
The implementation is loosely based on RelatedFieldWidgetWrapper from contrib.admin, but uses a bit more Python magic; tested only with TextInput and Textarea widgets and their admin counterparts, but with a bit of luck should work with other widgets too.
2013-05-14 22:21:03 +02:00
wrwrwr
b9494f7607
Merge branch 'master' into feature/no-empty-string-fallback-for-nullable
...
Conflicts:
modeltranslation/admin.py
modeltranslation/fields.py
modeltranslation/translator.py
2013-05-13 13:34:37 +02:00
Jacek Tomaszewski
1ba28241d3
Update changelog.
2013-04-12 16:05:58 +02:00
Dirk Eschler
412943ba83
Added basic test class for TranslationModelForm.
2013-04-08 12:24:31 +02:00
Dirk Eschler
d9967525a4
Added a new forms module with a TranslationModelForm which removes the translation fields (thanks to Dylan Verheul).
2013-04-08 12:23:10 +02:00
Jacek Tomaszewski
11e77b4c31
Remove Python 2.5 compatibility code.
2013-04-08 11:57:46 +02:00
Jacek Tomaszewski
3465486da4
Remove Django 1.3 compatibility code.
2013-04-08 11:55:31 +02:00
Jacek Tomaszewski
b5fbdd3a66
Indicate Python 3 support in docs and Pypi.
2013-04-08 11:52:44 +02:00
Jacek Tomaszewski
bd90b4fe49
Auto use newest django micro release in Travis.
2013-04-08 11:41:06 +02:00
deschler
601e9e1fcb
Refactor Travis config file.
2013-04-08 11:41:06 +02:00
Jacek Tomaszewski
d107b999b0
Update tox.ini.
2013-04-08 11:41:06 +02:00
Jacek Tomaszewski
e04073a7ec
Preserve default fields order in group_fieldsets.
2013-04-08 11:41:06 +02:00
Jacek Tomaszewski
b7ea1fac4c
Further work towards Python 3 support.
2013-04-08 11:41:06 +02:00
Kudlaty
69f6bfc75f
Use six.with_metaclass instead of some hack.
2013-04-08 11:41:06 +02:00
deschler
e4d772940e
Fixed flake8 complaints.
2013-04-08 11:41:06 +02:00
Kudlaty
966c0f38ad
Initial work towards python 3 support
2013-04-08 11:41:06 +02:00
Jacek Tomaszewski
3bdbe4eb2c
Fix _mt_init attribute deletion ( close #176 ).
2013-04-08 11:37:27 +02:00
deschler
7c8870c7ac
Fixed typo and made a small reword.
2013-04-05 11:38:09 +02:00
deschler
19785d0649
Fixed wrong use of inline literal.
2013-04-05 02:52:43 +02:00
deschler
a22cf693f4
Added docs for tabbed translation fields admin classes.
2013-04-05 02:48:08 +02:00
deschler
2d63001edd
Added convenience admin classes for easier inclusion of tabbed translation fields static files ( closes #171 ).
2013-04-05 02:14:59 +02:00
Jacek Tomaszewski
a203a65a3c
Use proper assert* methods in test.
...
This remove PendingDeprecationWarnings.
2013-04-04 14:15:24 +02:00