How to Create my first django app

Django is a very powerful python framework for web development. It is used to create very powerful backend servers using python.

Run this command to create a django project on your pc in the specifeid directory.

 django-admin startproject myapp


To start creating the django app, run this command after going into the project directory created in last step.

python manage.py startapp chat


To start the server, run this command in the parent directory where manage.py is saved.

python manage.py runserver

0 Comments