开发者

Can't get django registration to work

i have installed django-registration on django 1.3, I can't get it to work.

When i hit submit on the accounts/register/ page, it redirects to accounts/registration which isn't in the default URL's.

I can't seem to pass 开发者_开发知识库my post data to the register function. Help?


Does your urls.py have:

import registration
...
urlpatterns += patterns(
    url(r'^accounts/', include('registration.backends.default.urls')),
)

Do you have all the appropriate templates installed in a template directory?

https://github.com/yourcelf/django-registration-defaults

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜