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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -