Commit graph

19 commits

Author SHA1 Message Date
wrwrwr
6ba37ec8c2 Adapt management commands and a debug message (by using `get_registered_models rather than directly registry`). 2013-02-10 18:28:06 +01:00
Dirk Eschler
e94bbcd3d2 Applied styleguide. We allow 100 chars now, let's use the space. 2013-02-06 11:52:46 +01:00
Jacek Tomaszewski
facfa3bcd7 Revert "Added a workaround for abstract models not being handled correctly."
This reverts commit a3e44c187b.
2013-01-08 12:17:44 +01:00
Dirk Eschler
a3e44c187b Added a workaround for abstract models not being handled correctly. See issue #123 for details. 2013-01-07 14:46:35 +01:00
Dirk Eschler
ab48b5a975 Fixed verbosity switch, which is used as an int but was not coerced. 2013-01-07 14:40:03 +01:00
Jacek Tomaszewski
e48a35d35e Fix update_translation_fields command. 2012-12-31 13:12:34 +01:00
Mihai Sucan
2ffe539727 Update modeltranslation/management/commands/sync_translation_fields.py
Fix exception:

TypeError: db_type() got multiple values for keyword argument 'connection'

Explanation: http://stackoverflow.com/questions/7068057/explicit-argument-in-signature-does-not-work-very-odd
2012-11-15 14:47:19 +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
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
6f7704bc57 Some cleanups and validated codebase against PEP8 and coding guidelines. 2012-07-04 10:09:22 +00:00
Dirk Eschler
80d97888b0 Improved performance of update_translation_fields command. Resolves issue 43 (thanks to adamsc). 2010-09-06 08:58:52 +00:00
Dirk Eschler
974503ca0a Moved determination of default language into settings. 2010-07-06 09:52:41 +00:00
Dirk Eschler
b8fab905dc Fixed TranslationField pre_save does not get the default language correctly. Factored out determination of default language. Resolves issue 31 (thanks to jaap). 2010-06-17 14:33:39 +00:00
Dirk Eschler
3f4a6eb472 Validated codebase against pep8. 2010-04-19 10:52:57 +00:00
Dirk Eschler
6220314bc1 Code cleanups. 2010-03-02 22:17:39 +00:00
Peter Eschler
e4a882abc8 Mostly cleanup. 2009-02-21 02:18:06 +00:00
Peter Eschler
93ca595086 Fixed the management command for updating translation fields. 2009-02-18 00:05:33 +00:00
Peter Eschler
9ae88a38d9 Added missing management command files. 2009-02-17 21:10:02 +00:00
Peter Eschler
73ee7db101 Initial source and metadata import. 2009-02-17 21:08:19 +00:00