I already have in routes.py:
routers = dict(
    BASE = dict(
        default_controller='default',
        default_function='index'
    )
)

How should my code be organized so that I can achieve:
website.com/items --> shows all the items
website.com/items/127 --> displays details of item #127

Right now, it's being done this way:
website.com/items --> shows all the items
website.com/items/display/127 --> displays details of item #127

Must the changes be made to routes.py or can the code base be slightly
modified to achieve it?

Thanks!

Reply via email to