From 8635cec373a57569d03c324124f9044ab9c50aa2 Mon Sep 17 00:00:00 2001 From: Omid Raha Date: Sat, 16 Jul 2016 16:37:49 +0430 Subject: [PATCH] Fix patterns function name on the installation pgae. It's `patterns`, That used as `from django.conf.urls import patterns` --- docs/installation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 5a87028..6144011 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -114,7 +114,7 @@ Facebook .. code-block:: python - urlpatterns += pattern('', + urlpatterns += patterns('', ..., 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 - urlpatterns += pattern('', + urlpatterns += patterns('', ..., url(r'^rest-auth/twitter/$', TwitterLogin.as_view(), name='twitter_login') )