0

When hit the command python manage.py makemigrations, I am getting the import error. The error is like this

**ImportError : Module 'Backend.apps'does not contain a 'BackendConfigrest_framework'class. Choices are : 'BackendConfig'**

Saikat Roy
  • 502
  • 8
  • 20
NISARGANDH RAMAN
  • 43
  • 1
  • 1
  • 8

1 Answers1

0

In your settings.py, change line where your "Backend" application is under the INSTALLED_APP variable from:

'Backend.apps.BackendConfigrest_framework'

to:

'Backend.apps.BackendConfig',
'rest_framework',
Naeem Khan
  • 950
  • 4
  • 13
  • 34