app/soc/views/models/student.py
changeset 2782 3944749338d3
parent 2781 8f6c0a5a7491
child 2919 cb677410c0f1
equal deleted inserted replaced
2781:8f6c0a5a7491 2782:3944749338d3
    90     new_params['module_name'] = "student"
    90     new_params['module_name'] = "student"
    91     new_params['sidebar_grouping'] = 'Students'
    91     new_params['sidebar_grouping'] = 'Students'
    92 
    92 
    93     # add apply pattern
    93     # add apply pattern
    94     patterns = [(r'^%(url_name)s/(?P<access_type>apply)/%(scope)s$',
    94     patterns = [(r'^%(url_name)s/(?P<access_type>apply)/%(scope)s$',
    95         'soc.views.models.%(module_name)s.apply',
    95         '%(module_package)s.%(module_name)s.apply',
    96         'Become a %(name)s'),
    96         'Become a %(name)s'),
    97         (r'^%(url_name)s/(?P<access_type>list_projects)/%(scope)s$',
    97         (r'^%(url_name)s/(?P<access_type>list_projects)/%(scope)s$',
    98         'soc.views.models.%(module_name)s.list_projects',
    98         '%(module_package)s.%(module_name)s.list_projects',
    99         'List of my Student Projects'),]
    99         'List of my Student Projects'),]
   100 
   100 
   101     new_params['extra_django_patterns'] = patterns
   101     new_params['extra_django_patterns'] = patterns
   102 
   102 
   103     new_params['extra_dynaexclude'] = ['agreed_to_tos', 'school']
   103     new_params['extra_dynaexclude'] = ['agreed_to_tos', 'school']