You have two options.

1) You can write your own view.

2) You can pass a GET parameter to the login view:

/accounts/login?next=/redirect/to/custom/path/

and put this in your form in the login template:

<input type='hidden' name='next' value='{{ next|escape }}' />

Cheers,
Ken

On Sep 5, 12:07 am, zissan <[EMAIL PROTECTED]> wrote:
> It's seemd that Django has set /accounts/profile as default page after
> login successfully.
> I wonder if we can re-direct it to a custom page?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to