Dear web2py Community, I BELIEVE i am faithfully following the one-to-many SmartGrid example in the book (Example 34* Using a Smartgrid*).
I'll show my code below. PROBLEM When I click on addRecord from "http://127.0.0.1:8000/w2psnips/default/manage_songs", Firefox goes to "http://127.0.0.1:8000/w2psnips/default/manage_songs/song" and says "The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete." What am I doing wrong? Thanks for the help in advance, Love and peace, Joe *db.py#one song TO MANY mp3parts -> choirdb.define_table('song', Field('title',requires=IS_NOT_EMPTY()), Field('info'), # auth.signature, )db.define_table('mp3part', Field('part_name',requires=IS_NOT_EMPTY()), Field('mp3',requires=IS_URL()), Field('song_id',db.song), # auth.signature, )default.pydef manage_songs(): grid = SQLFORM.smartgrid(db.song,linked_tables=['mp3part'], user_signature=False) return dict(grid=grid)* *manage_songs.html{{# left_sidebar_enabled,right_sidebar_enabled=False,('message' in globals())}}{{left_sidebar_enabled,right_sidebar_enabled=False,False}}{{extend 'layout.html'}}{{block header}} <header class="container-fluid background"> <div class="jumbotron text-center"> {{if response.title:}} <h1>{{=response.title}} <small>{{=response.subtitle or ''}}</small></h1> {{pass}} </div> </header>{{end}}<div>{{=grid}}</div>* -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.