Changed scope_logic for requests to linkable_logic.
This makes the scope_path for a requests of a variable length which is needed for reuse.
Patch by: Sverre Rabbelier and Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/logic/models/request.py Sat Jan 31 17:01:56 2009 +0000
+++ b/app/soc/logic/models/request.py Sat Jan 31 18:06:34 2009 +0000
@@ -26,7 +26,7 @@
from soc.logic.helper import notifications
from soc.logic.models import base
-from soc.logic.models import sponsor as sponsor_logic
+from soc.logic.models import linkable as linkable_logic
class Logic(base.Logic):
@@ -34,7 +34,7 @@
"""
def __init__(self, model=soc.models.request.Request,
- base_model=None, scope_logic=sponsor_logic):
+ base_model=None, scope_logic=linkable_logic):
"""Defines the name, key_name and model for this entity.
"""