N
N
nikita_chiru2017-08-18 15:43:46
Python
nikita_chiru, 2017-08-18 15:43:46

What is @view_config?

what does this line mean?
@view_config(request_method='GET')

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aRegius, 2017-08-18
@nikita_chiru

This line means that the corresponding (framed by this decorator) view is called with the GET request method. The @view_config
decorator itself is generally used to define the parameters (passed to it as arguments) of the view call .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question