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)
def new(request): """Create a new Data item. """ return base.new(request, Data)
def new(request, cur_data=None): if cur_data: return base.new(request, Task, default_arg=cur_data) else: return base.new(request, Task)