File tree Expand file tree Collapse file tree 10 files changed +15
-11
lines changed Expand file tree Collapse file tree 10 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/
1818
1919## [ Unreleased]
2020
21+ ### Changed
22+
23+ - ** Internal** : Flattened package structure by moving files from ` components/ ` subdirectory to root level. No public API changes.
24+
2125## [ 0.4.0]
2226
2327### Changed
Original file line number Diff line number Diff line change 99from django .utils .safestring import SafeString
1010from django .utils .safestring import mark_safe
1111
12- from django_bird ._typing import TagBits
12+ from ._typing import TagBits
1313
1414
1515@dataclass
File renamed without changes.
Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3- from django_bird .conf import app_settings
3+ from .conf import app_settings
44
55
66def get_template_names (name : str ) -> list [str ]:
Original file line number Diff line number Diff line change 1414
1515from django_bird ._typing import TagBits
1616from django_bird ._typing import override
17- from django_bird .components . params import Params
18- from django_bird .components . slots import DEFAULT_SLOT
19- from django_bird .components . slots import Slots
20- from django_bird .components . templates import get_template_names
17+ from django_bird .params import Params
18+ from django_bird .slots import DEFAULT_SLOT
19+ from django_bird .slots import Slots
20+ from django_bird .templates import get_template_names
2121
2222TAG = "bird"
2323END_TAG = "endbird"
Original file line number Diff line number Diff line change 1111from django .template .base import TokenType
1212from django .template .exceptions import TemplateSyntaxError
1313
14- from django_bird .components . params import Param
15- from django_bird .components . params import Params
14+ from django_bird .params import Param
15+ from django_bird .params import Params
1616from django_bird .templatetags .tags .bird import END_TAG
1717from django_bird .templatetags .tags .bird import TAG
1818from django_bird .templatetags .tags .bird import BirdNode
Original file line number Diff line number Diff line change 22
33import pytest
44
5- from django_bird .components . params import Param
6- from django_bird .components . params import Params
5+ from django_bird .params import Param
6+ from django_bird .params import Params
77from django_bird .templatetags .tags .prop import PropNode
88
99
Original file line number Diff line number Diff line change 33import pytest
44from django .test import override_settings
55
6- from django_bird .components . templates import get_template_names
6+ from django_bird .templates import get_template_names
77
88
99@pytest .mark .parametrize (
You can’t perform that action at this time.
0 commit comments