django-rosetta/rosetta
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
..
conf Allow access control function to be replaced 2013-04-16 11:42:44 +01:00
locale Added translation for Farsi (fa). 2013-04-01 19:05:38 +04:30
templates/rosetta wip cleanup 2013-02-28 12:18:08 +01:00
templatetags wip python 3 support 2013-02-27 18:24:53 +01:00
tests Allow access control function to be replaced 2013-04-16 11:42:44 +01:00
__init__.py Fixes issue #67 - settings imports unicode_literals from __future__ 2013-03-04 18:24:36 +01:00
access.py Allow access control function to be replaced 2013-04-16 11:42:44 +01:00
models.py initial commit 2011-06-16 11:25:15 +02:00
polib.py upgraded bundled polib to v1.0.3 2013-02-10 11:08:27 +01:00
poutil.py fixed mess with app_id between pages 2013-03-06 18:22:53 +04:00
signals.py initial commit 2011-06-16 11:25:15 +02:00
storage.py wip python 3 support 2013-02-27 18:24:53 +01:00
urls.py wip python 3 support 2013-02-27 18:24:53 +01:00
views.py Allow access control function to be replaced 2013-04-16 11:42:44 +01:00