title: Python social-auth-app-django 'social' is not a registered namespace
body: <p>I'm working on a project with Python(3.6) and Django(2.0) in which I'm trying to integrate social login by using <code>social-auth-app-django</code> package.</p>
  <p>Managing users in the <strong><code>users</code></strong> app.</p>
  <p>Here's my configurations:</p>
  <p><strong>From settings.py:</strong></p>
  <pre><code>INSTALLED_APPS = [
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'users',
      'phone_field',
      'social_django',
  ]
  MIDDLEWARE = [
      'django.middleware.security.SecurityMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
      'django.middleware.clickjacking.XFrameOptionsMiddleware',
      'social_django.middleware.SocialAuthExceptionMiddleware',
  
  ]
  TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [BASE_DIR, 'templates'],
          'APP_DIRS': True,
          'OPTIONS': {
              'context_processors': [
                  'django.template.context_processors.debug',
                  'django.template.context_processors.request',
                  'django.contrib.auth.context_processors.auth',
                  'django.contrib.messages.context_processors.messages',
                  'social_django.context_processors.backends',  # &lt;- Here
                  'social_django.context_processors.login_redirect',
              ],
          },
      },
  ]
  LOGIN_URL = 'users/login/'
  AUTHENTICATION_BACKENDS = (
      'social_core.backends.open_id.OpenIdAuth',  # for Google authentication
      'social_core.backends.google.GoogleOpenId',  # for Google authentication
      'social_core.backends.google.GoogleOAuth2',  # for Google authentication
      'social_core.backends.linkedin.LinkedinOAuth2',  # for Github authentication
      'social_core.backends.facebook.FacebookOAuth2',  # for Facebook authentication
      'django.contrib.auth.backends.ModelBackend',
  )
  </code></pre>
  <p><strong>From users/urls.py:</strong></p>
  <pre><code>app_name = 'users'
  
  urlpatterns = [
      path('signup/', views.SignUpView.as_view(), name='signup'),
      path('login/', views.LoginView.as_view(), name='login'),
      path('logout/', views.LogoutView.as_view(), name='logout'),
      url(r'^activate/(?P&lt;uidb64&gt;[0-9A-Za-z_\-]+)/(?P&lt;token&gt;[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$',
          views.activate, name='activate'),
      url(r'^auth/', include('social_django.urls', namespace='social')),
  ]
  
  SOCIAL_AUTH_URL_NAMESPACE = &quot;users:social&quot;
  </code></pre>
  <p><strong>From login.html:</strong></p>
  <pre><code>&lt;div class=&quot;col-lg-12 center-aligned&quot;&gt;
  &lt;div style=&quot;margin: auto&quot;&gt;
      &lt;div class=&quot;or-seperator&quot;&gt;&lt;b&gt;or&lt;/b&gt;&lt;/div&gt;
           &lt;div class=&quot;social-btn text-center&quot;&gt;
                 &lt;a href=&quot;{% url 'social:begin' 'facebook-oauth2' %}&quot; class=&quot;btn btn-primary btn-lg&quot; title=&quot;Facebook&quot;&gt;&lt;i class=&quot;fa fa-facebook&quot;&gt;&lt;/i&gt;&lt;/a&gt;
                 &lt;a href=&quot;{% url 'social_django.urls.url' %}&quot; class=&quot;btn btn-info btn-lg&quot; title=&quot;LinkedIn&quot;&gt;&lt;i class=&quot;fa fa-linkedin&quot;&gt;&lt;/i&gt;&lt;/a&gt;
                 &lt;a href=&quot;{% url 'social:begin' 'google-oauth2' %}&quot; class=&quot;btn btn-danger btn-lg&quot; title=&quot;Google&quot;&gt;&lt;i class=&quot;fa fa-google&quot;&gt;&lt;/i&gt;&lt;/a&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p>When I load the <code>login</code> template it returns an error as:</p>
  <blockquote>
  <p>Exception Type:   NoReverseMatch</p>
  <p>Exception Value:<br />
  'social' is not a registered namespace</p>
  </blockquote>