示例#1
0
def step4(request,
          event,
          template=None):

    return generic_event_status(
        request,
        event,
        template_name=template if template is not None else 'eventsingle/step4.html',
        extra_context={
            'step': 4,
            'current_step': 4,
            'can_edit_profile': False,
            'can_edit_selections': False
        })
示例#2
0
def step3(request,
          event,
          template=None):

    step, edit_profile, edit_selections = _get_step(request, event.pk)

    return generic_event_status(
        request,
        event,
        template_name=template if template is not None else 'eventsingle/step3.html',
        extra_context={
            'step': step,
            'current_step': 3,
            'can_edit_profile': edit_profile,
            'can_edit_selections': edit_selections
        })
示例#3
0
def event_status(request,
                 event,
                 template_name='eventportal/status.html',
                 extra_context=None):

    return generic_event_status(request, event, template_name, extra_context)