django-fast-treenode 2.0.0__py3-none-any.whl → 2.0.1__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.0.dist-info → django_fast_treenode-2.0.1.dist-info}/METADATA +5 -34
- {django_fast_treenode-2.0.0.dist-info → django_fast_treenode-2.0.1.dist-info}/RECORD +6 -6
- treenode/docs/Documentation +2 -31
- {django_fast_treenode-2.0.0.dist-info → django_fast_treenode-2.0.1.dist-info}/LICENSE +0 -0
- {django_fast_treenode-2.0.0.dist-info → django_fast_treenode-2.0.1.dist-info}/WHEEL +0 -0
- {django_fast_treenode-2.0.0.dist-info → django_fast_treenode-2.0.1.dist-info}/top_level.txt +0 -0
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: django-fast-treenode
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.1
|
4
4
|
Summary: Application for supporting tree (hierarchical) data structure in Django projects
|
5
5
|
Home-page: https://github.com/TimurKady/fast-treenode
|
6
6
|
Author: Timur Kady
|
7
|
-
Author-email: Timur Kady <
|
7
|
+
Author-email: Timur Kady <timurkady@yandex.com>
|
8
8
|
License: MIT License
|
9
9
|
|
10
10
|
Copyright (c) 2020-2023 Timur Kady
|
@@ -33,7 +33,7 @@ Project-URL: Issues, https://github.com/TimurKady/django-fast-treenode/issues
|
|
33
33
|
Requires-Python: >=3.9
|
34
34
|
Description-Content-Type: text/markdown
|
35
35
|
License-File: LICENSE
|
36
|
-
Requires-Dist: Django
|
36
|
+
Requires-Dist: Django>=4.0
|
37
37
|
Requires-Dist: pympler>=1.0
|
38
38
|
Provides-Extra: import-export
|
39
39
|
Requires-Dist: openpyxl; extra == "import-export"
|
@@ -170,37 +170,6 @@ class YoursForm(TreeNodeForm):
|
|
170
170
|
# Your code is here
|
171
171
|
```
|
172
172
|
|
173
|
-
## Updating to django-fast-treenode 2.X
|
174
|
-
### Overview
|
175
|
-
If you are upgrading from a previous version, you need to follow these steps to ensure compatibility and proper functionality.
|
176
|
-
|
177
|
-
### Update Process
|
178
|
-
1. **Upgrade the package**
|
179
|
-
Run the following command to install the latest version:
|
180
|
-
|
181
|
-
```bash
|
182
|
-
pip install --upgrade django-fast-treenode
|
183
|
-
```
|
184
|
-
|
185
|
-
2. **Apply database migrations**
|
186
|
-
After upgrading, you need to apply the necessary database migrations:
|
187
|
-
|
188
|
-
```bash
|
189
|
-
python manage.py makemigrations
|
190
|
-
python manage.py migrate
|
191
|
-
```
|
192
|
-
|
193
|
-
3. **Restart the application**
|
194
|
-
Finally, restart your Django application to apply all changes:
|
195
|
-
|
196
|
-
```bash
|
197
|
-
python manage.py runserver
|
198
|
-
```
|
199
|
-
|
200
|
-
**Important Notes**: Failing to apply migrations (`migrate`) after upgrading may lead to errors when interacting with tree nodes.
|
201
|
-
|
202
|
-
By following these steps, you will ensure a smooth transition to the latest version of django-fast-treenode without data inconsistencies.
|
203
|
-
|
204
173
|
|
205
174
|
## Usage
|
206
175
|
### Methods/Properties
|
@@ -679,6 +648,7 @@ python manage.py migrate
|
|
679
648
|
```
|
680
649
|
This will apply any necessary database changes automatically.
|
681
650
|
|
651
|
+
|
682
652
|
## To do
|
683
653
|
These improvements aim to enhance usability, performance, and maintainability for all users of `django-fast-treenode`:
|
684
654
|
* **Cache Algorithm Optimization**: Testing and integrating more advanced cache eviction strategies.
|
@@ -689,6 +659,7 @@ Your wishes, objections, comments are welcome.
|
|
689
659
|
|
690
660
|
|
691
661
|
# Django-fast-treenode
|
662
|
+
|
692
663
|
## License
|
693
664
|
Released under [MIT License](https://github.com/TimurKady/django-fast-treenode/blob/main/LICENSE).
|
694
665
|
|
@@ -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=ItWDx7C9KtYoXGMv782hE320sTENflrxnZjqiikr_ek,20043
|
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.1.dist-info/LICENSE,sha256=GiiEe4Y9oOCbn9eGuNew1mMYHU_bJWaCK9zOusnKvvU,1091
|
38
|
+
django_fast_treenode-2.0.1.dist-info/METADATA,sha256=iwBXpa6Y6KqxA8n_Xc7fgpLONEp5nipoNPP9KNhH164,22225
|
39
|
+
django_fast_treenode-2.0.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
40
|
+
django_fast_treenode-2.0.1.dist-info/top_level.txt,sha256=fmgxHbXyx1O2MPi_9kjx8aL9L-8TmV0gre4Go8XgqFk,9
|
41
|
+
django_fast_treenode-2.0.1.dist-info/RECORD,,
|
treenode/docs/Documentation
CHANGED
@@ -128,37 +128,6 @@ 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
|
-
|
162
131
|
|
163
132
|
## Usage
|
164
133
|
### Methods/Properties
|
@@ -637,6 +606,7 @@ python manage.py migrate
|
|
637
606
|
```
|
638
607
|
This will apply any necessary database changes automatically.
|
639
608
|
|
609
|
+
|
640
610
|
## To do
|
641
611
|
These improvements aim to enhance usability, performance, and maintainability for all users of `django-fast-treenode`:
|
642
612
|
* **Cache Algorithm Optimization**: Testing and integrating more advanced cache eviction strategies.
|
@@ -647,6 +617,7 @@ Your wishes, objections, comments are welcome.
|
|
647
617
|
|
648
618
|
|
649
619
|
# Django-fast-treenode
|
620
|
+
|
650
621
|
## License
|
651
622
|
Released under [MIT License](https://github.com/TimurKady/django-fast-treenode/blob/main/LICENSE).
|
652
623
|
|
File without changes
|
File without changes
|
File without changes
|