On your app(blog) on the module(folder) migrations, make sure there is a file named __init__.py
You can share app structure too
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.
No comments:
Post a Comment