I'm sorry it took so long to get back to you on this.

When you added the line "movies=MovieController" to your RootController
class in controllers/root.py, that is what creates the mapping from URL to
the CRUDRestController. So, either that line was not added, or you did not
restart paster, *or* you typo'ed on the word "movies".

That's really the only set of possible options.

On Wed, Mar 9, 2011 at 6:12 PM, erisian <[email protected]> wrote:

> Hi,
>
> I'm trying to go through some basic CRUD tutorials to make sure I
> understand the concepts.
>
> So in the 2.1 CRUD tutorial here:
> http://turbogears.org/2.1/docs/main/Extensions/Crud/index.html
>
> I made the modifications to my model and to the root controller code
> (created movie model, modded root).  I made these mods to the default
> quickstart app that 2.1 installs when requested.
>
> After making these changes you are supposed to be able to go to
> http://localhost:8080/movies/ and have the CRUD UI display.  What I
> received was the basic 404 message you receive when asking for a non-
> existent URL / route.
>
> I verified this by removing the route for '/' and I received the exact
> same error message.
>
> I suspected that, for some reason, the tutorial didn't include an
> "@expose" route/decorator for "/movies/".  Is this the case?  If so,
> what should it be.  I thought that perhaps the CRUD controller took
> care of all of that itself.
>
> Thx
>
> erisian
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" 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/turbogears?hl=en.
>
>


-- 
Michael J. Pedersen
My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171
          Yahoo/pedermj2002, MSN/[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to