zetaops / zengine

BPMN workflow based framework with Tornado, Rabbit AMQP, advanced permissions, extensible scaffolding features and more
GNU General Public License v3.0
83 stars 22 forks source link

Convert VIEW_URLS setting to a dynamically auto-generated list #5283 #50

Open zetaopsbot opened 8 years ago

zetaopsbot commented 8 years ago

Currently we explicitly add non-workflow views to VIEW_URLS list in settings.py file. As our application grow, there is more need for non-wf views emerging. So, it would be much better to have a decorator for marking non-wf view methods and auto-generating this list.

I'm going to add @basic_view('view_name') decorator to accomplish this requirement.

zengine