Getting started with Django Framework

Django is a python framework for developing web applications. To install Django, run

To create a project, run

Django come with built in development server. To start Django development server, change to the project folder and run

django framework

It will start a development web server on url http://127.0.0.1:8000/

Creating App

A django project consists of multiple apps. Apps do a specific task, can be considered as a module. To create an app, run

To activate the app, you need to edit file

Find

this list all installed apps, you need to add name of your app to end of the list.

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *