2. Introduction to Django

2.1. Co to jest Django?

Web Framework

2.2. Dokumentacja

  • jedna z najlepszych dokumentacji

2.3. Wersjonowanie

  • Semantic Versioning

  • Bugfix releases

  • alpha - feature freeze

  • beta - code freeze

  • rc - translation freeze

  • 1.0

  • 1.1

  • 1.10

  • 1.11

  • 2.0 (new features)

  • 2.1 (maturing features)

  • 2.2 (LTS)

  • 3.0 (new features)

  • 3.1 (maturing features)

  • 3.2 (LTS)

  • 4.0 (new features)

2.3.1. LTS - Long Time Support

2.4. setup.cfg

[bdist_wheel]
universal = 1

[metadata]
license_file = LICENSE

[pycodestyle]
max-line-length = 300
exclude = */migrations/*

[mypy]
strict_optional = True

[flake8]
ignore = F403,F401
max-line-length = 300
exclude =
    .git,
    __pycache__,
    docs/source/conf.py,
    old,
    build,
    dist,
    */migrations/*

2.5. IDE Support

2.5.1. Runserver

2.5.2. Debugging

2.5.3. Database Explorer

2.5.4. Mark as Sources Root

2.5.5. Podpowiadanie składni

  • Template

  • templatetags

  • filters