I cut your db.py, default.py and manage_songs.html code and pasted into a new app and it worked fine for me.
When I click on Add Record from http://127.0.0.1:8000/songs/default/manage_songs/song it goes to http://127.0.0.1:8000/songs/default/manage_songs/song/new/song So, I think your sample code is just fine. My version is Version 2.13.3-stable+timestamp.2015.12.24.08.08.22 -Jim On Tuesday, March 8, 2016 at 11:47:58 AM UTC-6, JoeCodeswell wrote: > > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

