python manage.py makemirations

34 views
Skip to first unread message

sagar ninave

unread,
May 29, 2019, 2:17:06 PM5/29/19
to Django users
i have created new project and i am defining model and doing makemigratins but it is showing no changes detected what is problem i don't understand

Robert Wahoo

unread,
May 29, 2019, 2:19:15 PM5/29/19
to django...@googlegroups.com

Did you make model changes?

--
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...@googlegroups.com.
To post to this group, send email to django...@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/e30905f2-77c4-4b07-9d75-47f9d645a1e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Kimeu

unread,
May 29, 2019, 2:21:31 PM5/29/19
to django...@googlegroups.com
That's ok. There's no any problem. Just go ahead and migrate.

yavoucko lye

unread,
May 29, 2019, 2:22:36 PM5/29/19
to django...@googlegroups.com
i think you forget to add your application in setting.py


For more options, visit https://groups.google.com/d/optout.


--
YAVOUCKO YANGALA Liyé
Pdg de Teranga-Food
Mobile: (+221) 778399425
Adresse: Dakar (Cité Keur Gorgui, Lot 31)

Robert Wahoo

unread,
May 29, 2019, 2:23:00 PM5/29/19
to django...@googlegroups.com

Regardless, it’s not an issue. Just migrate

 

 

From: "django...@googlegroups.com" <django...@googlegroups.com> on behalf of sagar ninave <sagar...@gmail.com>
Reply-To: "django...@googlegroups.com" <django...@googlegroups.com>
Date: Wednesday, May 29, 2019 at 2:17 PM
To: Django users <django...@googlegroups.com>
Subject: python manage.py makemirations

 

i have created new project and i am defining model and doing makemigratins but it is showing no changes detected what is problem i don't understand

--

Alex Kimeu

unread,
May 29, 2019, 2:25:51 PM5/29/19
to django...@googlegroups.com
You have to add your app in the settings.py file then migrate.

yavoucko lye

unread,
May 29, 2019, 2:29:23 PM5/29/19
to django...@googlegroups.com
Capture.PNG

Juhana Jauhiainen

unread,
May 29, 2019, 6:04:24 PM5/29/19
to django...@googlegroups.com
To create the initial migrations for a app run
python manage.py makemigrations <appname>

Where <appname> is the name of the app (folder) you've created.
This will create migrations folder under the apps folder.

-Juhana

On Wed, May 29, 2019 at 9:29 PM yavoucko lye <yavou...@gmail.com> wrote:

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Abu Yusuf

unread,
May 30, 2019, 12:23:09 AM5/30/19
to django...@googlegroups.com
You didn't add your app name in 'Installed_Apps'.
Add this first and then run again.

On Thu, May 30, 2019 at 12:17 AM sagar ninave <sagar...@gmail.com> wrote:
i have created new project and i am defining model and doing makemigratins but it is showing no changes detected what is problem i don't understand

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

sagar ninave

unread,
Jun 1, 2019, 1:40:12 AM6/1/19
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages