Step 10 (S-53880)

From Stepik Wiki
Jump to: navigation, search

Step on Stepik: https://stepik.org/lesson/14828/step/10

Выберите правильные способы получения GET параметров в Django view

A)


def view(request):
    value = request.get('name')


B)

def view(request):
    value = request['name']


C)


def view(request):
    value = request.GET('name')


D)


def view(request):
    value = request.GET['name']


E)



def view(request):
    value = request.GET.get('name')