Esempio n. 1
0
def new(request):
    """New page of Method section.

    @param request: request data
    @type request: Django request
    @return: rendered response page
    @rtype: Django response
    """
    return base.new(request, Method)
Esempio n. 2
0
def new(request):
    """New page of Method section.

    @param request: request data
    @type request: Django request
    @return: rendered response page
    @rtype: Django response
    """
    return base.new(request, Method)
Esempio n. 3
0
def new(request):
    """Create a new Data item.
    """
    return base.new(request, Data)
Esempio n. 4
0
def new(request):
    """Create a new Data item.
    """
    return base.new(request, Data)
Esempio n. 5
0
def new(request, cur_data=None):
    if cur_data:
        return base.new(request, Task, default_arg=cur_data)
    else:
        return base.new(request, Task)
Esempio n. 6
0
def new(request, cur_data=None):
    if cur_data:
        return base.new(request, Task, default_arg=cur_data)
    else:
        return base.new(request, Task)