Skip to content

Contains necessary materials to learn django based on a simple project.

Notifications You must be signed in to change notification settings

mehranagh20/django-takeoff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 

Repository files navigation

Django Takeoff

Django necessary materials and examples for begginers to start from zero and takeoff to learn more.


Who is it for?

Everyone wish to start learning django.

Table of contents

Overview of python

Necessary materials to know

  • 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

Virtual Environment

Overview

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.

Why bother using it?

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.

Releases

No releases published

Packages

No packages published