Skip to content

Instantly share code, notes, and snippets.

@rosehgal
Created December 18, 2017 06:02
Show Gist options
  • Save rosehgal/e4a5de46d9b43fc916a3f3ff63c749b8 to your computer and use it in GitHub Desktop.
Save rosehgal/e4a5de46d9b43fc916a3f3ff63c749b8 to your computer and use it in GitHub Desktop.
#Rest of Settings.py
AUTHENTICATION_BACKENDS = [
'django.contrib.auth.backends.ModelBackend',
'app.backends.MyPortalBackend',
]
@ceragos
Copy link

ceragos commented Mar 24, 2020

line 6 'app.backends.MyPortalBackend',
The file is called backend.py
You are referencing backends.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment