diff options
Diffstat (limited to 'main/actions.py')
| -rw-r--r-- | main/actions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/actions.py b/main/actions.py index 89ba987..46f8928 100644 --- a/main/actions.py +++ b/main/actions.py @@ -23,11 +23,11 @@ Actions available in the main interface from django.utils.translation import ugettext_lazy as _ from django.contrib.auth import models -main_path = 'chimere/' +from settings import EXTRA_URL class Action: def __init__(self, id, path, label): - self.id, self.path, self.label = id, main_path + path, label + self.id, self.path, self.label = id, EXTRA_URL + path, label actions = [Action('view', '', _('View')), Action('edit', 'edit', _('Add a new point of interest')), |
