Help!!!

16 views
Skip to first unread message

Agripreneur Updates

unread,
Nov 29, 2020, 2:43:04 PM11/29/20
to Django users
HI, I'm new to django, I downloaded a youtube tutorial for django for beginners. The tutor used repl.it platform to create the django and then click on run to start the server. But following the same step, when I clicked on run I got the error message "You have 18 unapplied migration(s)". I observed that the sub folders created in the tutor's django template includes: main, pychache, migration, static, templates while in my own case, a single file was created namely mysite. attached here is the creenshot. I will be glad if you can help.
Regards
1.PNG
2.PNG

Kelvin Sajere

unread,
Nov 29, 2020, 3:40:42 PM11/29/20
to django...@googlegroups.com
I haven’t actually used repl.it, so I can’t really tell you what’s happening. I basically just do things by creating a project, then using manage.py to create apps for my project. But the unapplied migrations are migrations that your project needs to be able to run. These are models that come with django, like your user models and if you have installed any external apps. 

On Sun, Nov 29, 2020 at 14:44 Agripreneur Updates <ogunlade...@gmail.com> wrote:
HI, I'm new to django, I downloaded a youtube tutorial for django for beginners. The tutor used repl.it platform to create the django and then click on run to start the server. But following the same step, when I clicked on run I got the error message "You have 18 unapplied migration(s)". I observed that the sub folders created in the tutor's django template includes: main, pychache, migration, static, templates while in my own case, a single file was created namely mysite. attached here is the creenshot. I will be glad if you can help.
Regards

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/940f323c-31bc-4c43-889a-a2e0dace749bn%40googlegroups.com.
--
KeLLs

sum abiut

unread,
Nov 29, 2020, 4:13:20 PM11/29/20
to django...@googlegroups.com
Run these commands 

Python manage.py makemigrations
Python manage.py migrate 

Reply all
Reply to author
Forward
0 new messages