我的代码有什么问题?我有我的项目的下一个结构。
/ project / apps / accounts
在
/project/project/urls.py
我有url(r'^accounts/', include('apps.accounts.urls')),
在/project/apps/accounts/urls.py中,我有url(r'^registration/', include('registration.backends.hmac.urls')),
但是当我尝试http://localhost:8000/accounts/registration/时
我遇到下一个错误The requested URL /accounts/registration/ was not found on this server.
,请帮助我。
答案 0 :(得分:1)
将[{\"Rating\":\"\"}]
变量放入您的app_name='accounts'
文件中