correctly implement avoid/exclude

This commit is contained in:
Laura Klünder 2016-12-21 13:31:56 +01:00
parent d5a52bf9e3
commit 49757f7c06
8 changed files with 114 additions and 46 deletions

View file

@ -88,9 +88,9 @@ class LocationModelMixin(Location):
LOCATION_ROUTING_INCLUSION = (
('default', _('Default, include if map package is unlocked')),
('allow_exclude', _('Included, but allow excluding')),
('allow_include', _('Excluded, but allow including')),
('needs_permission', _('Excluded, needs permission to include')),
('allow_avoid', _('Included, but allow excluding')),
('allow_include', _('Avoided, but allow including')),
('needs_permission', _('Avoided, needs permission to include')),
)