Introduction to python:

introduction vs
https://www.youtube.com/watch?v=JNNAOypc6Ek

WSGI introduction
https://www.fullstackpython.com/wsgi-servers.html

mvc
https://djangobook.com/the-django-book/

Django
ORM (Object relational mappers)

models.py
contains a description of the database table as a python class.
CRUD operations

views.py
contains the business logic for the page.

urls.py
specifies which view is called for given url pattern

templates/html
to render data to user.
MVT ( model view template )
MVC ( model view controller )
python interpreter that compiles your application.

python environments:
which are used by the application

app/static:
all java script and style sheet

app/template
html files that are called by views.py

forms.py:
contains the definitions of the applications forms

models.py:
classes which define all models of application

test.py:
contains definition of unit test of application

views.py:
contains the methods that return all views


project_name\settings.py
configuration for application

project_name\wsgi.py
wsgi (web server gateway interface) application used by Django's development server:
this is to run python web applications
Python code for web applications was needed
WSGI application as defined by the PEP ( Python Enhancement Proposal 3333 ) standard

manage.py:
command line utility that lets you interact with this Django project in various ways.


Comments

Popular posts from this blog

Opencv Python

OpenCv Python Image process: Image