Commit graph

453 commits

Author SHA1 Message Date
deschler
8058df0142 Updated MODELTRANSLATION_DEBUG default value. 2013-03-30 23:04:57 +01:00
deschler
8e9472066a Updated Changelog. 2013-03-30 22:59:23 +01:00
deschler
17e6767a2c Added Braden MacDonald to list of authors. 2013-03-30 22:48:48 +01:00
deschler
c803f9d003 Updated Changelog. 2013-03-30 22:48:48 +01:00
deschler
72e2724e5a Turned off modeltranslation debug by default (ref #158). 2013-03-30 22:48:13 +01:00
Jacek Tomaszewski
70af85b774 Fix file name in docs (close #165).
Thanks to pa xapy for spotting.
2013-03-26 19:30:47 +01:00
deschler
657ec4247d Used a Pillow requirement lower than 2.0.0 as it doesn't build with Python 2.5 anymore. 2013-03-17 15:22:46 +01:00
Jacek Tomaszewski
c326bcd996 Reverse af9895dac4 (close #162, ref #132). 2013-03-16 23:07:48 +01:00
deschler
3ffd7fa73a Updated supported field matrix adding ForeignKey support. 2013-03-14 22:55:18 +01:00
Jacek Tomaszewski
89e3f9dc72 Merge branch 'foreign-reverse' 2013-03-14 10:02:05 +01:00
Jacek Tomaszewski
47cc2cb1b7 Fix flake8 2013-03-13 23:52:44 +01:00
Jacek Tomaszewski
5feff41795 Change the form of `related_query_name` for implicit related_names (ref #161). 2013-03-13 19:24:00 +01:00
Jacek Tomaszewski
fccdf93577 Finish ForeignKey reverse relation handling (ref #161).
Also enhance tests and refactor MultilingualManager rewriting of
spanned relations lookups.
2013-03-13 15:50:22 +01:00
Braden MacDonald
43a61a0bcc Add tests for foreign key reverse relations, and fix some issues. Still incomplete. ref deschler/django-modeltranslation#161 2013-03-10 16:39:14 -07:00
deschler
42a79e2db5 Removed breaks between DateTimeField MultiWidget inputs when using tabular inlines. 2013-03-11 00:24:36 +01:00
deschler
af4f647cae Fixed handling of MultiWidget fields such as DateTimeField in tabular inlines. 2013-03-11 00:21:40 +01:00
Jacek Tomaszewski
fc798eaeb4 Attempt to rewrite related_names (ref #161). 2013-03-08 21:13:37 +01:00
Braden MacDonald
16de24183a Add a descriptor so that ForeignKey 'field_id' attributes work. 2013-03-06 15:54:56 -08:00
Braden MacDonald
420e3b6c52 Implement ForeignKey support (does not support reverse relations) 2013-03-06 14:20:16 -08:00
Jacek Tomaszewski
134427dfa4 Add auto-population option to loaddata command (close #160). 2013-03-05 21:43:27 +01:00
Dirk Eschler
a63194b329 Master now reflects 0.7dev, important bugfixes go to 0.6.x branch. 2013-03-01 12:48:22 +01:00
Dirk Eschler
ea0e2db689 Updated changelog. 2013-03-01 11:02:57 +01:00
Dirk Eschler
775b748114 Merge branch 'master' of github.com:deschler/django-modeltranslation 2013-03-01 10:32:42 +01:00
Dirk Eschler
c76b656ef2 Prepared 0.6 release. 2013-03-01 10:32:37 +01:00
Jacek Tomaszewski
38ff4a28ea Refactor fix for #154 and add a test. 2013-02-27 20:02:23 +01:00
Jacek Tomaszewski
3f4019cfef Remove MODELTRANSLATION_TRANSLATION_REGISTRY handling. 2013-02-27 18:18:29 +01:00
Dirk Eschler
236f2babfa Fixed columns in tabular inlines not hidden if extra=0 is declared on inline (Resolves issue #156). 2013-02-27 14:28:26 +01:00
Dirk Eschler
23bf2ea1df Simplified alignment of translation and non-translation fields. 2013-02-27 10:30:16 +01:00
Jacek Tomaszewski
26b904ef7e Hotfix for #154 2013-02-26 23:17:19 +01:00
Jacek Tomaszewski
0abc531f45 Use 1.5 in tox. 2013-02-26 23:16:51 +01:00
deschler
c8d1f361cc Added Django 1.5 (it's stable now). 2013-02-26 21:04:16 +01:00
Jacek Tomaszewski
d8c22ab6b9 Use latest django releases also in tox. 2013-02-26 18:14:48 +01:00
Dirk Eschler
c30c6405c0 Added top margin for selects in tabular inlines and excluded date and time fields (this requires more care, added FIXME). 2013-02-26 17:55:17 +01:00
Dirk Eschler
710acdf809 Added stable/1.5.x Django branch to env (master is 1.6 now) and used latest stable Django versions. 2013-02-26 11:44:30 +01:00
Dirk Eschler
1dcdc1ebfe Simplified exclusion of translation fields in grouped_fieldsets (thanks to Wojtek Ruszczewski for poiting this out). 2013-02-26 10:49:33 +01:00
Jacek Tomaszewski
47ff2681d0 Update docs about fallback toggle. 2013-02-25 19:27:31 +01:00
Jacek Tomaszewski
c17f3a2338 Merge pull request #152 from wrwrwr/feature/fallbacks-toggle
Fallbacks toggle
2013-02-25 10:21:41 -08:00
Jacek Tomaszewski
5da1df3366 Remove TODO test comment. 2013-02-24 12:42:22 +01:00
Jacek Tomaszewski
0d575998c5 Merge pull request #153 from wrwrwr/feature/testing-with-app-settings
Fix testing with other apps
2013-02-24 03:39:37 -08:00
wrwrwr
c7ace45dff Use the right comment syntax in docs. 2013-02-24 12:17:17 +01:00
wrwrwr
3a4ec60713 Test and docs for the new fallbacks toggle. 2013-02-24 11:01:38 +01:00
wrwrwr
7ff0506f27 Context manager for temporarily switching fallbacks on or off. 2013-02-24 11:01:08 +01:00
deschler
e900ccca10 Added a 'How to contribute' section. 2013-02-24 01:28:43 +01:00
wrwrwr
670f378ae5 Be prepared to test with various storages or just with the usual FileSystemStorage, but with an overridden location (e.g. when the storage is created in another apps test before MEDIA_ROOT defined for tests gets set).
It would be nice to also find a way to ensure files are cleaned up with non-file-system storages in case test_translated_models_instance fails in the middle.
2013-02-20 20:45:49 +01:00
wrwrwr
46afcd0e5e Disable timezone support for tests, as the date / time fields' tests use naive datatime objects and fail if it's enabled. 2013-02-20 17:48:35 +01:00
Dirk Eschler
d69d315f7e Merge pull request #149 from aitzol/master
Little typo in docs
2013-02-20 05:55:05 -08:00
Aitzol Naberan
b163182c3a Fix typo 2013-02-20 14:44:34 +01:00
wrwrwr
e13798785e Make a bit of cleanup with language overrides, so the tests work with various project settings.
Reloading mt_settings in TestAutodiscover._post_teardown is a workaround for FALLBACK_LANGUAGES being changed by these tests due to some interplay of reload_override_setting and the custom TestCase-wide setting override.
2013-02-20 13:16:20 +01:00
Jacek Tomaszewski
f238d6b00d Remove old commented code. 2013-02-19 18:18:48 +01:00
Jacek Tomaszewski
9e41538035 Merge branch 'populate-modes-cleaned' 2013-02-19 18:15:47 +01:00