エラー:
Request Method: GET
Request URL: http://192.168.100.10/accounts/profile/
Using the URLconf defined in urls, Django tried these URL patterns, in this order:
^collect/
^member/
^accounts/login/$
^ ^$
^ ^contact/$
^ ^privacy-statement/$
^logout/$ [name='logout']
^data-admin/doc/
^accounts/password/reset/$
^accounts/password/reset/done/$
^accounts/password/reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$
^accounts/password/done/$
^media/(?P<path>.*)$
The current URL, accounts/profile/, didn't match any of these.
このエラーはログイン後に発生し、ユーザー名とパスワードを受け入れており、/index/ ページに正常にアクセスする必要がありますが、accounts/profile/ にアクセスしています。accounts/profile/ を削除して IP を実行すると、リダイレクトされます。正しい URL。
アプリのurls.py
from django.conf.urls.defaults import *
urlpatterns = patterns(
'zergit.views',
(r'^$', 'index'),
)
ありがとう