← pallets/flask

CODEFOSSIL · flask

Blueprint.register

method in src/flask/sansio/blueprints.py:273 · Born 2011-05-29 (DERIVED, confidence 1.00)

15years old
32changes
7fixes
10authors
1caller
2012201320142015201620172018201920202021202220232024202520262011-05-29 f7e71b5 Register most stuff only once2011-06-07 bfd6776 Started documentation for blueprints2017-06-14 0f7b3a4 document `Flask.register_blueprint` arguments closes #18092019-05-06 025589e Reformat with black2019-05-19 2039e2e Remove ending slash from static_url_path2019-05-24 ec1ccd7 Add Blueprint level cli command registration2019-05-25 ed9ab2d strip static url trailing slash at assignment2019-05-31 f25b500 Do not register empty CLI groups from Blueprint2020-04-04 2ae740d f-strings everywhere2020-08-01 b146a13 extract common Flask/Blueprint API to Scaffold base class2021-03-08 fd62210 Utilise defaultdicts2021-03-10 3dfc12e only extend on first registration2021-04-06 00f5a3e Alter ensure_sync implementation to support extensions2021-04-14 f92e820 Nested blueprints2021-04-26 7723709 Add initial type hints2021-05-03 7f87f3d Simplify the async handling code2021-05-13 e93704f fix url_prefix argument when nesting blueprints2021-05-17 6fbdeb8 Fix nested blueprint url_prefix2021-05-21 99afbb2 Fix blueprint nested url_prefix2021-05-21 141fde1 Bugfix blueprint naming2021-05-21 c2920e2 Bugfix allow blueprints to be registered with a different name2021-05-21 63b3067 changelog for blueprint registered name2021-05-21 9409be6 warn when registering same blueprint with same name2021-06-14 a44c722 Fix registering a blueprint twice with differing names2021-11-12 48f2afb same blueprint cannot be registered with same name2023-01-04 d7b6c1f Fix subdomain inheritance for nested blueprints.2023-01-04 cabda59 Ensure that blueprint subdomains suffix-chain2023-02-23 6650764 remove previously deprecated code2023-04-20 44ffe6c add __future__ annotations2023-08-19 0ec7f71 Split the App and Blueprint into Sansio and IO parts2023-08-19 72c85e8 Provide an extendable merge blueprint funcs method2024-01-16 6000e80 address mypy strict findings2011-05-29 7a08331 Latest iteration of the blueprint code. Far from being done
Every commit that changed it, 2011-05-29 – 2024-01-16. Raised orange dots are fixes.
  1. Changed address mypy strict findings

    6000e80 · David Lord

  2. Changed Provide an extendable merge blueprint funcs method

    72c85e8 · pgjones

  3. Changed Split the App and Blueprint into Sansio and IO parts

    0ec7f71 · pgjones

  4. Changed add __future__ annotations

    44ffe6c · David Lord

  5. Changed remove previously deprecated code

    6650764 · David Lord

  6. Changed Ensure that blueprint subdomains suffix-chain

    cabda59 · pgjones

  7. Changed Fix subdomain inheritance for nested blueprints.

    d7b6c1f · Josh Michael Karamuth fix · INFERRED

  8. Changed same blueprint cannot be registered with same name

    48f2afb · David Lord

  9. Changed Fix registering a blueprint twice with differing names

    a44c722 · pgjones fix · INFERRED

  10. Changed warn when registering same blueprint with same name

    9409be6 · David Lord

  11. Changed changelog for blueprint registered name

    63b3067 · David Lord

  12. Changed Bugfix allow blueprints to be registered with a different name

    c2920e2 · pgjones fix · INFERRED

  13. Changed Bugfix blueprint naming

    141fde1 · pgjones fix · INFERRED

  14. Changed Fix blueprint nested url_prefix

    99afbb2 · pgjones fix · INFERRED

  15. Changed Fix nested blueprint url_prefix

    6fbdeb8 · pgjones fix · INFERRED

  16. Changed fix url_prefix argument when nesting blueprints

    e93704f · Grey Li fix · INFERRED

  17. Changed Simplify the async handling code

    7f87f3d · pgjones

  18. Changed Add initial type hints

    7723709 · pgjones

  19. Changed Nested blueprints

    f92e820 · pgjones

  20. Changed Alter ensure_sync implementation to support extensions

    00f5a3e · pgjones

  21. Changed only extend on first registration

    3dfc12e · David Lord

  22. Changed Utilise defaultdicts

    fd62210 · pgjones

  23. Changed extract common Flask/Blueprint API to Scaffold base class

    b146a13 · yk396

  24. Changed f-strings everywhere

    2ae740d · David Lord

  25. Changed Do not register empty CLI groups from Blueprint

    f25b500 · Daniel Pope

  26. Changed strip static url trailing slash at assignment

    ed9ab2d · David Lord

  27. Changed Add Blueprint level cli command registration

    ec1ccd7 · Anthony Plunkett

  28. Changed Remove ending slash from static_url_path

    2039e2e · Frankie Liu

  29. Changed Reformat with black

    025589e · David Baumgold

  30. Changed document `Flask.register_blueprint` arguments closes #1809

    0f7b3a4 · David Lord

  31. Changed Started documentation for blueprints

    bfd6776 · Armin Ronacher

  32. Changed Register most stuff only once

    f7e71b5 · Armin Ronacher

  33. Born Latest iteration of the blueprint code. Far from being done

    7a08331 · Armin Ronacher