Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-build directories from routes? #1

Open
lojikil opened this issue Jul 22, 2015 · 0 comments
Open

Auto-build directories from routes? #1

lojikil opened this issue Jul 22, 2015 · 0 comments

Comments

@lojikil
Copy link
Owner

lojikil commented Jul 22, 2015

It might be nice to have an "auto-directory builder" from routes:

@autoroute('/test/foo', 'some description')
def test_foo():
    return "this is a foo test"

@autoroute('/test/bar', 'some other description')
def test_bar():
    return "this is a bar test"

That way you need not even build the directory object or have a route for /test.

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant