django-path standard syntax

path(route,vie,nane=None,**kwargs)

route: represents the path, URL from the port after the address, to / end. (required)

view: represents a match is found, the view need to call, view must be a function, if it is class, you must use as_view () function to convert. (required)

name: Specifies the alias.

** kwargs: a dictionary.

Guess you like

Origin www.cnblogs.com/xiximayou/p/11728341.html