Sunday, July 28, 2019

Re: Syntax Error django, python issue

AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend',
# your backends goes here,
]
Regards,
Chetan Ganji
+91-900-483-4183


On Sun, Jul 28, 2019 at 11:12 PM Karreerchange <keanld1@gmail.com> wrote:
Hi,

Installing the authentication backend code in settings.py (copy paste..)
server crashed after save reporting the following, 

  File "/Users/ProductionEnv/Desktop/devbnt/project/bnt/bnt/settings.py", line 130

    'django.contrib.auth.backends.ModelBackend',

                                              ^

SyntaxError: invalid syntax


Please can anyone help?

Thanks,

K

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8fce3582-f491-435e-93c1-73af137fff35%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMKMUjtVSrHBZ47bdpMECAhq%2B3EyKC5COtcz0xRwkjRr50TeRQ%40mail.gmail.com.

No comments:

Post a Comment