Skip to content

Commit d266614

Browse files
authored
Merge pull request #230 from omidraha/patch-1
Fix patterns function name on the installation pgae.
2 parents c5e0382 + 8635cec commit d266614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Facebook
114114

115115
.. code-block:: python
116116
117-
urlpatterns += pattern('',
117+
urlpatterns += patterns('',
118118
...,
119119
url(r'^rest-auth/facebook/$', FacebookLogin.as_view(), name='fb_login')
120120
)
@@ -141,7 +141,7 @@ If you are using Twitter for your social authentication, it is a bit different s
141141

142142
.. code-block:: python
143143
144-
urlpatterns += pattern('',
144+
urlpatterns += patterns('',
145145
...,
146146
url(r'^rest-auth/twitter/$', TwitterLogin.as_view(), name='twitter_login')
147147
)

0 commit comments

Comments
 (0)