3. Introduction to Django

3.1. Co to jest Django?

Web Framework

3.2. Dokumentacja

  • jedna z najlepszych dokumentacji

3.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)

  • ...

3.4. LTS - Long Time Support

3.5. 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/*

3.6. IDE Support

3.7. Runserver

3.8. Debugging

3.9. Database Explorer

3.10. Mark as Sources Root

3.11. Podpowiadanie składni

  • Template

  • templatetags

  • filters