django-fast-treenode 2.0.1__py3-none-any.whl → 2.0.4__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {django_fast_treenode-2.0.1.dist-info → django_fast_treenode-2.0.4.dist-info}/METADATA +20 -2
- {django_fast_treenode-2.0.1.dist-info → django_fast_treenode-2.0.4.dist-info}/RECORD +6 -6
- treenode/docs/Documentation +31 -2
- {django_fast_treenode-2.0.1.dist-info → django_fast_treenode-2.0.4.dist-info}/LICENSE +0 -0
- {django_fast_treenode-2.0.1.dist-info → django_fast_treenode-2.0.4.dist-info}/WHEEL +0 -0
- {django_fast_treenode-2.0.1.dist-info → django_fast_treenode-2.0.4.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: django-fast-treenode
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.4
|
4
4
|
Summary: Application for supporting tree (hierarchical) data structure in Django projects
|
5
|
-
Home-page: https://github.com/TimurKady/fast-treenode
|
5
|
+
Home-page: https://github.com/TimurKady/django-fast-treenode
|
6
6
|
Author: Timur Kady
|
7
7
|
Author-email: Timur Kady <timurkady@yandex.com>
|
8
8
|
License: MIT License
|
@@ -30,6 +30,24 @@ Project-URL: Homepage, https://github.com/TimurKady/django-fast-treenode
|
|
30
30
|
Project-URL: Documentation, https://github.com/TimurKady/django-fast-treenode#readme
|
31
31
|
Project-URL: Source, https://github.com/TimurKady/django-fast-treenode
|
32
32
|
Project-URL: Issues, https://github.com/TimurKady/django-fast-treenode/issues
|
33
|
+
Classifier: Development Status :: 5 - Production/Stable
|
34
|
+
Classifier: Intended Audience :: Developers
|
35
|
+
Classifier: Programming Language :: Python :: 3
|
36
|
+
Classifier: Programming Language :: Python :: 3.9
|
37
|
+
Classifier: Programming Language :: Python :: 3.10
|
38
|
+
Classifier: Programming Language :: Python :: 3.11
|
39
|
+
Classifier: Programming Language :: Python :: 3.12
|
40
|
+
Classifier: Programming Language :: Python :: 3.13
|
41
|
+
Classifier: Programming Language :: Python :: 3.14
|
42
|
+
Classifier: Framework :: Django
|
43
|
+
Classifier: Framework :: Django :: 4.0
|
44
|
+
Classifier: Framework :: Django :: 4.1
|
45
|
+
Classifier: Framework :: Django :: 4.2
|
46
|
+
Classifier: Framework :: Django :: 5.0
|
47
|
+
Classifier: Framework :: Django :: 5.1
|
48
|
+
Classifier: Framework :: Django :: 5.2
|
49
|
+
Classifier: License :: OSI Approved :: MIT License
|
50
|
+
Classifier: Operating System :: OS Independent
|
33
51
|
Requires-Python: >=3.9
|
34
52
|
Description-Content-Type: text/markdown
|
35
53
|
License-File: LICENSE
|
@@ -8,7 +8,7 @@ treenode/urls.py,sha256=7N0d4XiI6880sc8P89eWGr-ZjmOqPorA-fWfcnviqAM,876
|
|
8
8
|
treenode/version.py,sha256=-zaHoXRvTvJ0QzwA9ocYp7O38iBtIarACZbCNzwyc4s,222
|
9
9
|
treenode/views.py,sha256=vBDIxmYXBwmJxRnInvUVGy75FQmt-XN_HnEaKIu-fVs,3365
|
10
10
|
treenode/widgets.py,sha256=4Q6WlPPT5fggEuTXiZ_Z40pjb46CylSp28pa0xBT_Ps,2079
|
11
|
-
treenode/docs/Documentation,sha256=
|
11
|
+
treenode/docs/Documentation,sha256=6USAESU8MuY1vlj95yY8S6T0o_0RsktGv6S_0SdSkwk,21030
|
12
12
|
treenode/models/__init__.py,sha256=gjDwVai0jf-l0hMaeeEBTYLR-DXkxUZMLUMGGs_tnuo,83
|
13
13
|
treenode/models/classproperty.py,sha256=IrwBWpmyjsAXpkpfDSOIMsnX6EMcbXql3mZjurHgRcw,556
|
14
14
|
treenode/models/closure.py,sha256=chTa9T9yC3H_2LaZXR7KLdNh1pc50iUolut5GB4Bm-Q,5297
|
@@ -34,8 +34,8 @@ treenode/utils/__init__.py,sha256=jAVT-uNGQDKPVq5ET4JE2GhRpzbxFdHU25w9sLC3_To,13
|
|
34
34
|
treenode/utils/base36.py,sha256=ydgu9hqDaK-WyS8zG-mtSWo7hJqbB4iHqkGz4-IVrb4,834
|
35
35
|
treenode/utils/exporter.py,sha256=l-IEsk2fK8xe-E-Hi7SMOV7ZIwxM6mZih5-0rhvsx9E,5396
|
36
36
|
treenode/utils/importer.py,sha256=n23PBFPXN-6S_Dl8Qmx56sp0eLy_lWfpxrzJqwygQf0,14190
|
37
|
-
django_fast_treenode-2.0.
|
38
|
-
django_fast_treenode-2.0.
|
39
|
-
django_fast_treenode-2.0.
|
40
|
-
django_fast_treenode-2.0.
|
41
|
-
django_fast_treenode-2.0.
|
37
|
+
django_fast_treenode-2.0.4.dist-info/LICENSE,sha256=GiiEe4Y9oOCbn9eGuNew1mMYHU_bJWaCK9zOusnKvvU,1091
|
38
|
+
django_fast_treenode-2.0.4.dist-info/METADATA,sha256=rqz8UfUf2WS_3viGMHGYT5qOja_n5sV1epR4hDk7VF0,23067
|
39
|
+
django_fast_treenode-2.0.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
40
|
+
django_fast_treenode-2.0.4.dist-info/top_level.txt,sha256=fmgxHbXyx1O2MPi_9kjx8aL9L-8TmV0gre4Go8XgqFk,9
|
41
|
+
django_fast_treenode-2.0.4.dist-info/RECORD,,
|
treenode/docs/Documentation
CHANGED
@@ -128,6 +128,37 @@ class YoursForm(TreeNodeForm):
|
|
128
128
|
# Your code is here
|
129
129
|
```
|
130
130
|
|
131
|
+
## Updating to django-fast-treenode 2.X
|
132
|
+
### Overview
|
133
|
+
If you are upgrading from a previous version, you need to follow these steps to ensure compatibility and proper functionality.
|
134
|
+
|
135
|
+
### Update Process
|
136
|
+
1. **Upgrade the package**
|
137
|
+
Run the following command to install the latest version:
|
138
|
+
|
139
|
+
```bash
|
140
|
+
pip install --upgrade django-fast-treenode
|
141
|
+
```
|
142
|
+
|
143
|
+
2. **Apply database migrations**
|
144
|
+
After upgrading, you need to apply the necessary database migrations:
|
145
|
+
|
146
|
+
```bash
|
147
|
+
python manage.py makemigrations
|
148
|
+
python manage.py migrate
|
149
|
+
```
|
150
|
+
|
151
|
+
3. **Restart the application**
|
152
|
+
Finally, restart your Django application to apply all changes:
|
153
|
+
|
154
|
+
```bash
|
155
|
+
python manage.py runserver
|
156
|
+
```
|
157
|
+
|
158
|
+
**Important Notes**: Failing to apply migrations (`migrate`) after upgrading may lead to errors when interacting with tree nodes.
|
159
|
+
|
160
|
+
By following these steps, you will ensure a smooth transition to the latest version of django-fast-treenode without data inconsistencies.
|
161
|
+
|
131
162
|
|
132
163
|
## Usage
|
133
164
|
### Methods/Properties
|
@@ -606,7 +637,6 @@ python manage.py migrate
|
|
606
637
|
```
|
607
638
|
This will apply any necessary database changes automatically.
|
608
639
|
|
609
|
-
|
610
640
|
## To do
|
611
641
|
These improvements aim to enhance usability, performance, and maintainability for all users of `django-fast-treenode`:
|
612
642
|
* **Cache Algorithm Optimization**: Testing and integrating more advanced cache eviction strategies.
|
@@ -617,7 +647,6 @@ Your wishes, objections, comments are welcome.
|
|
617
647
|
|
618
648
|
|
619
649
|
# Django-fast-treenode
|
620
|
-
|
621
650
|
## License
|
622
651
|
Released under [MIT License](https://github.com/TimurKady/django-fast-treenode/blob/main/LICENSE).
|
623
652
|
|
File without changes
|
File without changes
|
File without changes
|