Tuesday, February 8, 2022

Re: migrations: "no changes detected"

there is! but will this have something to do with it?
- "from django.contrib.auth.models import User"

Rite now the error is displaying this:
Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

On Tue, Feb 8, 2022 at 7:32 PM ramadhan ngallen <ngallen4@gmail.com> wrote:
On your app(blog) on the module(folder) migrations,   make sure there is a file named   __init__.py


You can share app structure too
On 9 Feb 2022, 06:26 +0300, 'Delvin Alexander' via Django users <django-users@googlegroups.com>, wrote:
here is a list of my installed apps:

i added the blog.apps but still nothing.


INSTALLED_APPS = [    'blog.apps.BlogConfig',    'django.contrib.admin',    'django.contrib.auth',    'django.contrib.contenttypes',    'django.contrib.sessions',    'django.contrib.messages',    'django.contrib.staticfiles',


On Mon, Feb 7, 2022 at 9:37 PM RANGA BHARATH JINKA <bharathjinka09@gmail.com> wrote:
Hi,

I think you forgot to add the app name in settings file. Please add the app names in installed apps. Then it will find out the models.

All the best


On Tue, 8 Feb 2022, 10:14 am 'Delvin Alexander' via Django users, <django-users@googlegroups.com> wrote:
I am trying to run migrations so that i can create a table, but when I type out, "python manage.py makemigrations"
it returns this: "no changes detected"

would anyone know the reason for this?
 --
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/639770ea-db24-469a-a123-6f4cb2af3036n%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/CAK5m314skg-HBhQx25mxzg4rHEp8-5jZEX8%2BT9Kr8uDHv-bR5A%40mail.gmail.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/CADq-sifxMbkc%3DyZdXOw_RUwBq8QiKLUU_TY9RaC9ZfSytSq1%2BA%40mail.gmail.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/d8834a19-4ff1-48e2-b101-046f9b9f0814%40Spark.

--
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/CADq-sicjbjRUs%3DrCpnf7xX79NZ55mEdEWTd8ixv%3D4%2BURoSuh%2Bg%40mail.gmail.com.

No comments:

Post a Comment