Hi I like to put a for-loop in a try except clause in an html file. My problem is that the pass from the for loop terminates the try block. {{try:}} {{for x in db.test}} {{=x.title}} {{pass}} {{except:}} no database entries {{pass}}
- [web2py] try: for-loop BlueShadow
- Re: [web2py] try: for-loop Bruno Rocha
- [web2py] Re: try: for-loop Niphlod
- [web2py] Re: try: for-loop Niphlod
- [web2py] Re: try: for-loop BlueShadow
- [web2py] Re: try: for-loop Niphlod
- Re: [web2py] Re: try: for-loop Bruno Rocha
- Re: [web2py] Re: try: for-loop Niphlod
- Re: [web2py] Re: try: for-loop Anthony
- Re: [web2py] Re: try: for-loop Niphlod
- Re: [web2py] Re: try: for-loop Doug Philips