Breaking

Code Gripper
Responsive Advertisement
  • Home
HomeDjango

Problem with an elipsis when loading the Django server

byMahabubur Rahman -September 13, 2022
0

 


It looks like your AUTHENTICATION_BACKENDS setting [Django-doc] contains an ellipsis (...). Indeed:



AUTHENTICATION_BACKENDS = [
# Needed to login by username in Django admin, regardless of `allauth`
'django.contrib.auth.backends.ModelBackend',

# `allauth` specific authentication methods, such as login by e-mail
'allauth.account.auth_backends.AuthenticationBackend',
... # <- an ellipsis
]

You should remove this, so that the AUTHENTICATION_BACKENDS is:



AUTHENTICATION_BACKENDS = [
# Needed to login by username in Django admin, regardless of `allauth`
'django.contrib.auth.backends.ModelBackend',

# `allauth` specific authentication methods, such as login by e-mail
'allauth.account.auth_backends.AuthenticationBackend',
]

This will solve your problem






Tags Django
  • Facebook
  • Twitter

You may like these posts

Post a Comment

Previous Post Next Post

Follow Us

Popular Posts

MySQL

How to add 'created_at' and 'updated_at' columns?

byMahabubur Rahman-September 21, 2022

How to enable CORS on Django REST Framework

November 12, 2022

What is throttling and how to implement it in Laravel?

October 16, 2022

Like or Like Query MySQL

December 26, 2021

Subscribe Us

Facebook

Categories

Main Tags

Code Gripper

September 30, 2023

Total Pageviews

Search This Blog

CODE GRIPPER

Code Gripper
CODE GRIPPER

  • Home
  • Python
  • PHP

Menu Footer Widget

  • Home
  • About
  • Contact Us
Code Gripper

About Us

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's.

Categories

Main Tags

Latest Posts

Most Popular

How to add 'created_at' and 'updated_at' columns?

September 21, 2022

How to enable CORS on Django REST Framework

November 12, 2022

What is throttling and how to implement it in Laravel?

October 16, 2022
Design by Blogger | Distributed by Gooyaabi
  • Home
  • About Us
  • Contact Us
  • RTL Version

Contact Form