Please post your complete function, the view and the complete traceback. Some setting must be wrong.
On Aug 12, 5:37 pm, thedangler <[email protected]> wrote: > Im so lost. I tried changing form=auth() to form=auth.login() but i > just get error AttributeError: 'NoneType' object has no attribute > 'replace' > > Sorry this my first time using web2py > > Matt > > On Aug 12, 6:20 pm, mdipierro <[email protected]> wrote: > > > form=auth() generates forms depending on the context. If it determines > > that the current user is not logged in it redirects you to what it > > thinks is the login url. Do you wish to include a login form? If you > > you need form=auth.login() > > > On Aug 12, 5:05 pm, thedangler <[email protected]> wrote: > > > > in my index controller I have return dict(message=T('Welcome to > > > Bewoost'),form=auth()); > > > > And because I added form=auth() to the dict my index url changes from > > > domain.com/appname to domain.com/appname/default/user/login > > > > How and why does it do that. > > > > How can I make it not do that. > > > > I tried doing > > > > auth.settings.login_url = URL('user', args='login') but i just get an > > > error plus i dont even know where to put it. > > > > thanks

