Django necessary materials and examples for begginers to start from zero and takeoff to learn more.
Everyone wish to start learning django.
-
- Overview
- Backend web development
- Frontend web development
-
- Overview
- Why bother using it?
-
- Overview
- Installation
- Django follows MVC pattern
-
- What is an app?
- When and why to use apps?
- Create an app
-
- Overview
- Django URL scheme
- Exception handling
- Decorators
-
- Overview
- Views and templates.
- Django template system.
- Variables and filters.
-
- Overview
- Fields
- Migration
- Queries and filters
-
- Overview
- Validation
-
- Django authentication system
- CSRF protection
-
- Overview
- Customize
-
- What is testing?
- Waste of time?
- python uses no semicolon and braces but intendation
- defining variables
- if, for, while syntax
- list, map, tuples usage
- functions declaration
- classes declaration
- Exception handling
- import statement
- python package manager
By default, installing packages and tools with python package manager will install it in global site-package directory, the whole system, this will be a problem soon enough so we use some tools called Virtual Environment tools.
A Virtual Environment is a tool to keep the dependencies required by different projects in separate places, by creating virtual Python environments for them. It solves the “Project X depends on version 1.x but, Project Y needs 4.x” dilemma, and keeps your global site-packages directory clean and manageable.
Python has a virtual environment tool called virtualenv.
Projects Dependencies become more and more complicated over time.
You may not feel needing a Virtual Environment tool at the first but over time, the bigger projects get and the more projects you involve in, it will feel like hell managing dependencies of projects.
A lot of these problems can be solved with a proper Virtual Environment tool like virtualenv.