Commit graph

148 commits

Author SHA1 Message Date
Dirk Eschler
dcd406a0df Refactored tests to use a separate models.py. 2012-10-24 13:48:09 +02:00
Dirk Eschler
fd9e550cf5 Added a travis config. 2012-10-24 12:24:06 +02:00
Dirk Eschler
669ab7a923 Added a runtests.py for easier test running. 2012-10-24 12:23:08 +02:00
Dirk Eschler
c8a9dcc397 Added more classifiers and removed include_package_data option which is not present in distutils. 2012-10-24 12:21:48 +02:00
Dirk Eschler
3acfa09dbc - Validated codebase against pep8 and pyflakes.
- Fixed an undefined name bug in add_localized_fields error message when a model already has a field by the name that is added.
- Fixed redefined method name in ModeltranslationWithFileFields test class.
2012-10-24 11:06:35 +02:00
Dirk Eschler
cda6ae19c8 Consistent capitalization of titles in docs. 2012-10-22 11:57:52 +02:00
Dirk Eschler
6acd07276e Better explanation in the docs when TranslationAdmin is combined with other classes. 2012-10-22 11:04:47 +02:00
Dirk Eschler
9846ace446 Set minimum required Django version to 1.2. 2012-10-19 14:06:25 +02:00
Dirk Eschler
12ff878532 Fixed misnamed variable. 2012-10-19 13:45:34 +02:00
Dirk Eschler
9d58478b2e Fixed tabs don't properly support two-part language codes. Resolves issue 63. 2012-10-19 13:32:33 +02:00
Dirk Eschler
429788382b Added MANIFEST to .gitignore. 2012-10-19 13:31:04 +02:00
Dirk Eschler
03d7cc56f2 Added release date and revision. 2012-10-17 17:45:03 +02:00
Dirk Eschler
7b8cafbde7 Fixed release doesn't include rst files. 2012-10-17 17:41:18 +02:00
Dirk Eschler
09a0c4434a Prepared 0.4.0-beta1 release. 2012-10-17 17:12:26 +02:00
Dirk Eschler
f58d2c88b1 Updated intro text. 2012-10-17 17:02:36 +02:00
Dirk Eschler
5a63105ab3 Various documentation improvements. 2012-10-17 16:57:52 +02:00
Dirk Eschler
858961a665 Updated project url to reflect move to github. 2012-10-17 15:53:39 +02:00
Dirk Eschler
b87bc152d1 Major refactoring of the documentation. 2012-10-17 15:02:22 +02:00
Dirk Eschler
2f869bf723 Converted documentation to shpinx and added an initial setup (work-in-progress). 2012-10-17 11:18:36 +02:00
Dirk Eschler
38f65c340a Added a basic readme. 2012-10-16 16:52:37 +02:00
Dirk Eschler
659d2b187c Added .gitignore file. 2012-10-16 16:33:57 +02:00
Dirk Eschler
542c275597 Updated docs for autoregister feature and some other minor touchups. 2012-10-15 08:53:45 +00:00
Dirk Eschler
1c3360f613 Fixed setting MODELTRANSLATION_TRANSLATION_FILES should be optional. Resolves issue 86. 2012-10-15 08:30:21 +00:00
Dirk Eschler
97c6827f66 Added release date and revision. 2012-10-12 13:37:35 +00:00
Dirk Eschler
4245d1543a Prepared 0.4.0-alpha1 release. 2012-10-12 13:29:13 +00:00
Dirk Eschler
d92491b184 Created docs for 0.4 release from current trunk. 2012-10-12 13:19:56 +00:00
Dirk Eschler
a3db814551 Added unittest for FileField and ImageField and incorporated a small fix for the pre_save method of TranslationField (thanks to Bruno Tavares). 2012-10-12 12:59:52 +00:00
Dirk Eschler
ee4e8a4b64 Updated docs for FileField and ImageField. 2012-10-12 08:51:27 +00:00
Dirk Eschler
abea9835a7 Added support for FileField and ImageField. Resolves issue 30 (thanks to Bruno Tavares and Maxime Haineault). 2012-10-12 08:27:22 +00:00
Dirk Eschler
8b161e6809 Added Jacek Tomaszewski to authors. 2012-10-11 15:00:54 +00:00
Dirk Eschler
2edd7e1f57 Excluded tabular inlines from jQuery tabs, as they are currently not supported. 2012-08-06 11:51:16 +00:00
Dirk Eschler
778cf6efe7 Fixed typos in documentation. Resolves issue 82. 2012-07-25 20:08:00 +00:00
Dirk Eschler
1aa515e739 Added missing DEFAULT_LANGUAGE setting. 2012-07-13 08:04:11 +00:00
Dirk Eschler
4fe3f6d837 Updated unittest of rule 3 to do a language switch. This should demonstrate a wrong behaviour of save when the current language is different than the default language. In this case the original field is set to value of the current language's field. See issue 33 for details. 2012-07-12 22:15:44 +00:00
Dirk Eschler
ea1e3426e7 Added workaround for issue 33: Using a non default language admin leads to confusing original field values. Done by forcing the default language in save_model. 2012-07-12 09:03:12 +00:00
Dirk Eschler
5d0afa21bd Fixed non-unicode verbose field names (with actual unicode characters) showing up empty in forms. Resolves issue 35. 2012-07-11 20:24:37 +00:00
Dirk Eschler
e2bc3f2d4d Added a new management command sync_database_fields to sync the database after a new model has been registered or a new language has been added. Resolves issue 62 (thanks to Sébastien Fievet and the authors of django-transmeta). 2012-07-11 12:57:37 +00:00
Dirk Eschler
10c9a95da6 Fixed dynamic TranslationOptions model name. 2012-07-11 12:28:30 +00:00
Dirk Eschler
fc43291632 Included pid in registration debug output and added a new setting MODELTRANSLATION_DEBUG to disable debug output independently from the global DEBUG setting. 2012-07-11 11:52:24 +00:00
Dirk Eschler
4afb04b75a Moved autoregistration code to init and merged related changes from hyperweek's branch at github . This eliminates the need for hooking into urls.py. 2012-07-11 09:52:49 +00:00
Dirk Eschler
1af6f6de8a Added an empty models.py as Django requires this for tests. 2012-07-10 22:36:25 +00:00
Dirk Eschler
de1441414c Restored debug output which formerly lived in models.py and added it to autoregister. 2012-07-10 15:47:57 +00:00
Dirk Eschler
13b9351c16 Added a warning for svn updates. 2012-07-10 15:22:59 +00:00
Dirk Eschler
74b7feaeff Removed stale models.py import. 2012-07-10 14:59:24 +00:00
Dirk Eschler
4579d831e5 Use app-level translation files in favour of a single project-level one. Adds an autoregister feature similiar to the one provided by Django's admin. A new setting MODELTRANSLATION_TRANSLATION_FILES keeps backwards compatibility with older versions. This is basically a merge from django-modeltranslation-wrapper with a few changes regarding how registration is triggered. See documentation for details. Resolves issues 58 and 71 (thanks to Jacek Tomaszewski, the author of modeltranslation-wrapper). 2012-07-10 12:58:08 +00:00
Dirk Eschler
e85f776aa8 Added test for admin inline fieldset. 2012-07-08 18:48:01 +00:00
Dirk Eschler
75b7a27a94 Some cleanups. 2012-07-08 18:47:35 +00:00
Dirk Eschler
52401c3a9e Moved patch_prepopulated_fields to TranslationBaseModelAdmin as prepopulated_fields option is also available for inlines. Minor code cleanups. 2012-07-07 21:42:12 +00:00
Dirk Eschler
6dd89a46dd Updated changelog. 2012-07-06 15:49:48 +00:00
Dirk Eschler
59c637ba36 More work on the admin integration refactoring. The exclude_languages isn't really thread safe, removed it for now. Handled custom model form fields and exclude options. 2012-07-06 15:49:26 +00:00