app/soc/views/models/club.py
changeset 896 445f3e8a44d9
parent 884 ded4850776c8
child 907 3786030d5952
equal deleted inserted replaced
895:e70ffd079438 896:445f3e8a44d9
    34 from soc.logic.models import club as club_logic
    34 from soc.logic.models import club as club_logic
    35 from soc.views import out_of_band
    35 from soc.views import out_of_band
    36 from soc.views.helper import access
    36 from soc.views.helper import access
    37 from soc.views.helper import decorators
    37 from soc.views.helper import decorators
    38 from soc.views.helper import dynaform
    38 from soc.views.helper import dynaform
       
    39 from soc.views.helper import responses
    39 from soc.views.helper import widgets
    40 from soc.views.helper import widgets
    40 from soc.views.helper import responses
       
    41 from soc.views.models import base
    41 from soc.views.models import base
    42 
    42 
    43 import soc.logic.models.club
    43 import soc.logic.models.club
    44 import soc.views.helper
    44 import soc.views.helper
    45 
    45 
    98     params['applicant_create_form'] = applicant_create_form
    98     params['applicant_create_form'] = applicant_create_form
    99 
    99 
   100   @decorators.merge_params
   100   @decorators.merge_params
   101   @decorators.check_access
   101   @decorators.check_access
   102   def applicant(self, request, access_type,
   102   def applicant(self, request, access_type,
   103                   page_name=None, params=None, **kwargs):
   103       page_name=None, params=None, **kwargs):
   104     """Handles the creation of a club via an approved club application.
   104     """Handles the creation of a club via an approved club application.
   105 
   105 
   106     Args:
   106     Args:
   107       request: the standard Django HTTP request object
   107       request: the standard Django HTTP request object
   108       page_name: the page name displayed in templates as page and header title
   108       page_name: the page name displayed in templates as page and header title