diff options
| author | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-01-23 22:34:35 +0000 |
|---|---|---|
| committer | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-01-23 22:34:35 +0000 |
| commit | ccea45fa5494a2a89b99e0a222c16ee897884b09 (patch) | |
| tree | 5bb7708cec5051ee370989c1b053a6d58459b95f /main/actions.py | |
| parent | a8bdd41fd72ec1bfd4d1632274f0bc30e57fb00c (diff) | |
| download | Chimère-ccea45fa5494a2a89b99e0a222c16ee897884b09.tar.bz2 Chimère-ccea45fa5494a2a89b99e0a222c16ee897884b09.zip | |
Modification of hard link to manage then in settings. Correction of false submission of route.
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@26 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
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')), |
