开发者

How to use django-registration along with django-profile?

https://bitbucket.org/ubernostrum/django-registration This is what I am using for user registration . Once , I log in the user is not able to get into the userprofile page .

Thus I installed this https://bitbucket.org/ubernostrum/django-profiles/ for user profile .

Now , this pr开发者_JAVA技巧oduces a conflict in urls.py and also settings.py file .

How to resolve it . What changes needs to be done with urls.py and settings.py so that , when a user logs in , he/she is redirected to the profile page .


I believe there's some sort of Redirect To settings that you can set on your settings. Since settings file is a python file, you can do conditional settings as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜