Migration error in django -


i using django first time , unable error mean.

enter image description here

i creating app url dispatcher , error.i have created saperate urls.py file app , put code in main_app code

from django.conf.urls import url  . import views  urlpatterns = [     url(r'^$', views.index), ] 

my project url dispatcher code enter image description here

please figure out ?

as have started project only. can first start project , without adding or starting app first run these commands

python manage.py makemigrations python manage.py migrate python manage.py runserver 

if says ok then, start main app add in

installed_apps = [         'main',     # other apps ] 

and create urls in urls.py of both dispacther , main app have created. , run above 3 commands again.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -