Post

Django-Marathon 1/6

Migrated from Blogger.

What is Django ?  [as per Djangoprojects.com]

· Django makes it easier to build web apps more quickly and with less code

· The web frame work for perfectionist with deadlines

Features of Django

  • ·         Tempting and Layouts
  • · Object relational mapper (ORM )
  • · Site administration
  • · Security
  • · Easy to understand and really powerful

Model, View, Controller Pattern   (MVC )- Gang of four

// Bootstrap for designing the Front of the application

Installing required tools from PTVS team  :  https://github.com/Microsoft/PTVS/releases/v2.2

Downloaded PTVs Sample
ptvs.blob.core.windows.net/download/PTVS%20Samples%202.2.vsix

Quick Intro About Files in Django Application :

  • Manage.py  : Manage our database
  • Settings.py : Location of database  part of ORM
  • url.py : reroute url
  • views.py  : in Django terminology combine data with templates for output
  • models.py :  for models
This post is licensed under CC BY 4.0 by the author.