django-rosetta/rosetta/tests
David Winterbottom 718f9430ad Allow access control function to be replaced
The current access control function `can_translate` is not always
sufficient.  For instance, some projects require access to translation
to be controlled using a permission rather than using groups.

This change introduces a new setting `ROSETTA_ACCESS_CONTROL_FUNCTION`
that allows an alternative predicate to be specified.  The default is to
use the current function so this change is backwards compatible.
2013-04-16 11:42:44 +01:00
..
__init__.py Allow access control function to be replaced 2013-04-16 11:42:44 +01:00
django.po.issue24gh.template Fix for issue #24. Support for --nowrap in the edited Po file 2012-01-28 08:58:41 +01:00
django.po.issue34gh.template Merged @rory's PR to correcty handle plural strings that have a leading/trailing newline (Issue #34) 2012-03-29 17:21:09 +02:00
django.po.issue38gh.template storages, wip 2012-05-23 11:44:15 +02:00
django.po.issue39gh.template Fix for issue 39 - Add msgctxt to the entry hash to differentiate entries with context. Thanks @metalpriest 2012-06-07 16:52:38 +02:00
django.po.issue67.template initial commit 2011-06-16 11:25:15 +02:00
django.po.issue79.template initial commit 2011-06-16 11:25:15 +02:00
django.po.template initial commit 2011-06-16 11:25:15 +02:00
urls.py wip python 3 support 2013-02-27 18:24:53 +01:00
views.py initial commit 2011-06-16 11:25:15 +02:00