Posts

Showing posts from June, 2020

Django Frame Work

·          Django is a much heavier weight web framework than Flask with a lot more out-of-the-box features that would’ve had to be built up manually and repetitively with a micro-framework like Flask. Using Django ·          Django divides all of its web applications into ‘projects’, composed of different parts. To start a new project, run  django-admin startproject projectname . Project Components ·          Django creates a number of files with a new project: o     __init__.py  : defines the directory  projectname  as a Python ‘package’, a collection of multiple Python files §   Django is built on the idea of packages. A web application can be made up of multiple packages, each serving a slightly different purpose, and Django will help manage these. o     manage.py  : a Python script that...