Posts

Showing posts from April, 2022

Django:Introduction 20cs023,27,30

Image
  What is Django? Django is a Python framework that makes it easier to create websites using Python. Django takes care of the difficult stuff so that you can concentrate on building your web applications. Django emphasizes the reusability of components, also referred to as DRY (Don't Repeat Yourself), and comes with ready-to-use features like a login system, database connection, and CRUD operations (Create Read Update Delete). How does Django Work? Django follows the MVT design pattern (Model View Template). Model - The data you want to present, usual data from a database. View - A request handler that returns the relevant template and content - based on the request from the user. Template - A text file (like an HTML file) containing the web page's layout, with logic on how to display the data. Django Requires Python To check if your system has Python installed, run this command in the command prompt: python --version If Python is installed, you will get a result with the versi...