I actually found a tutorial doing exactly what is needed. It is here and it passes note numbers to be deleted. http://blog.fruiapps.com/2012/05/Python-microframework-flask-tutorial-with-an-example-mvc-application
On May 29, 11:08 am, "[email protected]" <[email protected]> wrote: > I need to provide basic email functions via flask. I have a page > showing top 20 most recent emails in my inbox and I'd like to click on > the subject line of one of those emails and be taken to the page > displaying the contents of that one email. I have got as far as > displaying the message summaries but I'm struggling to pass into the > url a message number which can be used to indicate which message to > show. Taking the very first demo in their documentation it almost does > what I want but struggling to pass the variable to say which email. > The demo has one page set up per user which I don't want to do. I have > altered their code below and of course this doesn't work but wondering > how one passes in a count variable to decide which email to show. > thanks for any help. > > {% extends "layout.html" %} > {% block body %} > <ul> > {% for user,cnt in usersCntPairs %} > <li><a href="{{ url_for('showOneUserDetail', > userCnt=cnt) }}">{{ user }}</a></li> > {% endfor %} > </ul> > {% endblock %} -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pocoo-libs?hl=en.
