equal
deleted
inserted
replaced
22 '"Lennard de Rijk" <ljvderijk@gmail.com>', |
22 '"Lennard de Rijk" <ljvderijk@gmail.com>', |
23 ] |
23 ] |
24 |
24 |
25 |
25 |
26 from django import http |
26 from django import http |
27 from django.utils.translation import ugettext_lazy |
27 from django.utils.translation import ugettext |
28 |
28 |
29 from soc.logic import dicts |
29 from soc.logic import dicts |
30 from soc.logic.models import request as request_logic |
30 from soc.logic.models import request as request_logic |
31 from soc.logic.models import user as user_logic |
31 from soc.logic.models import user as user_logic |
32 from soc.logic.helper import notifications as notifications_helper |
32 from soc.logic.helper import notifications as notifications_helper |
47 """Views for all entities that inherit from Role. |
47 """Views for all entities that inherit from Role. |
48 |
48 |
49 All views that only Role entities have are defined in this subclass. |
49 All views that only Role entities have are defined in this subclass. |
50 """ |
50 """ |
51 |
51 |
52 DEF_INVITE_INSTRUCTION_MSG_FMT = ugettext_lazy( |
52 DEF_INVITE_INSTRUCTION_MSG_FMT = ugettext( |
53 'Please use this form to invite someone to become a %(name)s.') |
53 'Please use this form to invite someone to become a %(name)s.') |
54 |
54 |
55 def __init__(self, params=None): |
55 def __init__(self, params=None): |
56 """ |
56 """ |
57 |
57 |