Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

access kwargs in template django


class MyView(View):
    def my_method(self):
        this_name = self.kwargs['this_name']

Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #access #kwargs #template #django
ADD COMMENT
Topic
Name
8+1 =