idlesign / django-sitegate

Reusable application for Django to ease sign up & sign in processes
https://github.com/idlesign/django-sitegate
BSD 3-Clause "New" or "Revised" License
34 stars 4 forks source link

How to change "Default redirect URL" #20

Closed dedayoa closed 8 years ago

dedayoa commented 8 years ago

Hi. Thanks for the work. Kindly tell me how to change the Default redirect URL from /. I have scoured the docs but can't find a setting key or API.

Thanks in Advance.

dedayoa commented 8 years ago

Ha! It only took looking inside django-sitegate/sitegate/signin_flows/base.py I needed to pass redirect_to into the decorator @signin_view(template='template.html', redirect_to='core:dashboard')

idlesign commented 8 years ago

Glad you've solved it. I updated docs with redirect exmples.