Tuesday, March 21, 2023

Re: Django error while running

I think it ushould be 'rest_framework' in settings.py under installed apps.


On Wednesday, March 22, 2023 at 4:50:30 AM UTC+3 David Nugent wrote:
Any traceback with this at the end:

  _bootstrap._gcd_import(name[level..], package, level)

Is almost always is due to a problem with your settings INSTALLED_APPS, particularly if django\apps\registry.py Is further up the trace.

A missing comma between items, perhaps?

It would indeed be nice if Django would output a more sensible error message for issues like this 😀 
Hmm, an idea for a useful PR right there. Seems to be common issue (since the very next message I read in this mail list is exactly the same thing).

Regards,
David


"Chandresh . T" <chandre...@gmail.com> writes

Recently I was running a git clone (https://github.com/divanov11/StudyBud.git)

after doing required steps like migrations, etc. I started to run it by (python manage.py runserver) but I got this error.

can anyone help me with this, please?


--
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/c8c4bdcf-b242-4104-b5f5-ecc235790366n%40googlegroups.com.

No comments:

Post a Comment