python - Routing - parameter as view name -
is possible write url route in django view name dynamic (parsed url)?
"http://www.example.com/<view>/" => executes app.views.<view>
you write view docked @ http://www.example.com/
view name argument , in view function either fire apropriate handler dict name
-> custom view
, or scan globals()
(ugly, end checking input malicious data since it's taken directly users , globals()
returns dict of global variables visible).
Comments
Post a Comment