Any argument passed to the url_for function that it's not part of the url
route will be added after the question mark. Eg:
@app.route('/<slug>/items/')
def items(slug):
...
>>> url_for('items', slug='something', page=3, foo='bar')
'/something/items/?page=3&foo=bar'
On Thursday, June 26, 2014 9:06:10 AM UTC-5, Calvin Chen wrote:
>
>
>
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/d/optout.