On Thursday, 18 February 2016 12:14:54 UTC, Jasleen Kaur wrote: > > I am unable to do any migrations in any django project. Need help. > > $python manage.py makemigrations > No changes detected > > $django-admin check > ... > ... > django.core.exceptions.ImproperlyConfigured: Requested setting > DATABASES, but settings are not configured. You must either define the > environment variable DJANGO_SETTINGS_MODULE or call > settings.configure() before accessing settings. >
What exact problem do you think you have here? Your first message tells you that you have no changes that need migrations. The second is completely irrelevant; if you wanted to validate things you should run manage.py check, but it has no relationship with migrations at all. -- DR. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a480e7ba-68bb-4a9b-829f-49459e5af81e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.