mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-14 05:06:33 +03:00
Fix patterns function name on the installation pgae.
It's `patterns`, That used as `from django.conf.urls import patterns`
This commit is contained in:
parent
976b3bbe4d
commit
8635cec373
|
@ -114,7 +114,7 @@ Facebook
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
urlpatterns += pattern('',
|
urlpatterns += patterns('',
|
||||||
...,
|
...,
|
||||||
url(r'^rest-auth/facebook/$', FacebookLogin.as_view(), name='fb_login')
|
url(r'^rest-auth/facebook/$', FacebookLogin.as_view(), name='fb_login')
|
||||||
)
|
)
|
||||||
|
@ -141,7 +141,7 @@ If you are using Twitter for your social authentication, it is a bit different s
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
urlpatterns += pattern('',
|
urlpatterns += patterns('',
|
||||||
...,
|
...,
|
||||||
url(r'^rest-auth/twitter/$', TwitterLogin.as_view(), name='twitter_login')
|
url(r'^rest-auth/twitter/$', TwitterLogin.as_view(), name='twitter_login')
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user