Tuesday, 20 October 2015

Windows 10 Python Django Tutorial - Writing your first app

1)
Create a project


>django-admin startproject mysite

>dir mysite

>dir mysite\mysite

2)
Create default database and tables


>cd mysite

>python manage.py migrate

3)
Check default sqllite3 database "db.sqllite3"


>dir

4)
Verify your Django project.


a)
Run development server
>python manage.py runserver

b)
Goto http://127.0.0.1:8000/