[web2py] Re: How to get register_next to move on to the desired URL

2012-11-24 Thread Anthony
> > Yes I have that already. Note, your code shows auth.settings.login_after_registration = False. > I'm starting to think that the problem is with my controller, not with the > db.py settings. Maybe my controller is not actually registering the users? > Here's the controller for the signup

[web2py] Re: How to get register_next to move on to the desired URL

2012-11-24 Thread Daniele
Yes I have that already. I'm starting to think that the problem is with my controller, not with the db.py settings. Maybe my controller is not actually registering the users? Here's the controller for the signup: def signup(): if auth.is_logged_in(): redirect

[web2py] Re: How to get register_next to move on to the desired URL

2012-11-23 Thread Anthony
Does the dashboard page require login? If so, that's why it is redirecting to the login page. If you want the user to be logged in automatically after registration, you can do: auth.settings.login_after_registration = True Anthony On Friday, November 23, 2012 8:34:01 AM UTC-5, Daniele wrote:

[web2py] Re: How to get register_next to move on to the desired URL

2012-11-23 Thread Daniele
I still cannot get this to work. Any tips? On Sunday, November 18, 2012 10:51:14 PM UTC, Daniele wrote: > > Hey guys, I would like to set register_next to move on to a URL upon > successful registration. However, it seems to be redirecting me to the > login page right now. I believe this is beca

[web2py] Re: How to get register_next to move on to the desired URL

2012-11-19 Thread Daniele
Here's my registration form: db.define_table( auth.settings.table_user_name, Field ('email', length=128, default=''), Field ('password', 'password', length=512, readable=False), Fi

[web2py] Re: How to get register_next to move on to the desired URL

2012-11-19 Thread Daniele
I had already tried that but it doesn't seem to be working for me. Could this be because I am using a custom sign up form? The registration is working properly though, which is odd... On Monday, November 19, 2012 4:45:52 PM UTC, peter wrote: > > > # Instructions: Copy all of this into your db.

[web2py] Re: How to get register_next to move on to the desired URL

2012-11-19 Thread peter
# Instructions: Copy all of this into your db.py, and make the one change in layout.html # Solution: how to have a user redirected to a page AFTER register # in this example, the URL('user/profile') will be used. # app name: AuthRedirect <- just a NEW application, with no modication # web2py