I have updated my routes.py as below

default_application = 'blog'    # ordinarily set in base routes.py
default_controller = 'post'  # ordinarily set in app-specific routes.py
default_function = 'index'      # ordinarily set in app-specific routes.py

This works fine for the home page and the links generated to view a post
are in the form of http://www.arduino-mega.com/blog/post/view_post/12 when
I hover over them.

However when I click a link takes me to
http://www.arduino-mega.com/blog/default/user/login?_next=/blog/post/view_post/12
with error message
invalid function (default/user)
I don't have @auth.require_login for the view_post function either. I have
clicked reload routes in the admin panel.

Any idea what the problem is here?

Simon

-- 



Reply via email to