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

Already on GitHub? Sign in to your account

error in view.rst #374

Closed
anh opened this Issue Jan 4, 2012 · 0 comments

Comments

Projects
None yet
2 participants

anh commented Jan 4, 2012

view.rst:

app.add_url_rule('%s<%s:%s>' % (url, pk, pk_type), view_func=view_func,
methods=['GET', 'PUT', 'DELETE'])

It should be:

app.add_url_rule('%s<%s:%s>' % (url, pk_type, pk), view_func=view_func,
methods=['GET', 'PUT', 'DELETE'])

@mitsuhiko mitsuhiko closed this in b6625ec Jan 4, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment