Commit graph

14 commits

Author SHA1 Message Date
Dirk Eschler
1af6f6de8a Added an empty models.py as Django requires this for tests. 2012-07-10 22:36:25 +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
77350b1e89 Factored out settings into a separate settings.py and consistently used an app specific settings prefix, TRANSLATION_REGISTRY now deprecated in favour of MODELTRANSLATION_TRANSLATION_REGISTRY. 2010-06-26 08:54:08 +00:00
Dirk Eschler
9b68efda05 Added setting to override the default language. Resolves issue 2. 2010-06-21 09:43:41 +00:00
Dirk Eschler
3f4a6eb472 Validated codebase against pep8. 2010-04-19 10:52:57 +00:00
Dirk Eschler
51f973657e Reverted removal of TRANSLATION_REGISTRY. Handled ImportError. 2010-03-17 10:00:29 +00:00
Dirk Eschler
5fd7306b7e Added workaround for swallowed ImportErrors by printing a traceback explicitly. Mostly resolves issue 17. 2010-03-06 01:40:26 +00:00
Dirk Eschler
6220314bc1 Code cleanups. 2010-03-02 22:17:39 +00:00
Dirk Eschler
0d0cb70eb5 Only print debug statements to stdout if the runserver or runserver_plus management commands are used. Resolves issue 16. 2010-03-02 16:47:19 +00:00
Dirk Eschler
37e0ec21d5 Removed TRANSLATION_REGISTRY setting. The translation.py is supposed to be kept in the project root and this has to be in PYTHONPATH anyway. 2010-03-02 15:34:49 +00:00
Dirk Eschler
4b564e147a Removed print statements so its usable with mod_wsgi. Resolves issue 7. 2010-02-23 14:44:23 +00:00
Peter Eschler
d964b29caf Added docs and implementation for the translation registry. 2009-02-17 23:55:17 +00:00
Peter Eschler
9678aa5c09 Temporary patch for resolving NotRegistered bug. 2009-02-17 23:26:49 +00:00
Peter Eschler
73ee7db101 Initial source and metadata import. 2009-02-17 21:08:19 +00:00