How to create project:

In our previous tutorial we learn how to install django and now we learn how to create project and create app using terminal for widows and Ubuntu user.

For Windows User

>django-admin startproject projectname

Go to the projectname directory then run this to create and app

>python manage.py startapp appname

For Ubuntu User

>$ Django-admin.py startproject projectname

Go to the projectname directory then run this to create and app

>$ Python manage.py startapp appname

Running the Test Server

>python manage.py runserver

Powered  by Codersarts