0
我在我的應用程序中使用Django的社交認證,我發現頁面不是發現錯誤。 我已經將它安裝在我的應用程序中,並且將其與我的應用程序並行放置在我的項目中。在Django的社會認證的URL錯誤
而且我也將網址加入我的網址文件
URL(R '',包括( 'social_auth.urls')),
但是,當它顯示我的錯誤它顯示的列表在我的網址文件中的網址,以及我在哪裏找到所需的網址。
的錯誤頁面是:
Page not found (404)
Request Method: GET
Request URL: http://abc.com/login/
Using the URLconf defined in webdev.urls, Django tried these URL patterns, in this order:
^$ [name='home']
^polls/
^admin/doc/
^admin/
^register1/
^edit/
^edit1/
^customerreg/
^checkout/
^checkout1/
^order/
^order1/
^upload/
^upload1/
^product/
^profile/
^logout/
^login/(?P<backend>[^/]+)/$ [name='socialauth_begin']
^complete/(?P<backend>[^/]+)/$ [name='socialauth_complete']
^associate/(?P<backend>[^/]+)/$ [name='socialauth_associate_begin']
^associate/complete/(?P<backend>[^/]+)/$ [name='socialauth_associate_complete']
^disconnect/(?P<backend>[^/]+)/$ [name='socialauth_disconnect']
^disconnect/(?P<backend>[^/]+)/(?P<association_id>[^/]+)/$ [name='socialauth_disconnect_individual']
The current URL, login/, didn't match any of these.
在上面的列表中,您可以看到,URL文件有一個網址,但它不會訪問?
但是,此URL已在社交應用中指定..... – user786
但是,您可能想要更改您正在訪問的網址。 – Rohan