我的代码怎么了?我有我的项目的下一个结构。你知道吗
/project/apps/accounts
在
/project/project/urls.py
我有url(r'^accounts/', include('apps.accounts.urls')),
以及in/project/apps/accounts/网址.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.
请帮助我。你知道吗
将
app_name='accounts'
变量放入/project/apps/accounts/ulrs.py
文件中相关问题 更多 >
编程相关推荐