InvenTree/InvenTree/part
Matthias Mair 794e375009
Switch to pathlib (#3392)
* switch to pathlib

* more pathlib

* useconvert env to path

* fix typo

* use resolve instead of absolute

* fix gitppod

* also allow parents

* replace more os operations

* fix string replacement feature

* make sure root dirs exsist

* fix replace function

* refactor duplicate code

* reduce code

* make sure dirs exist

* fix typo

* also create parent dirs

* fix match statement

* fix statments expecting string

* return getMigrationFileNames to old behaviour

* fully resolve config file

* make sure comparison works

* use pathlib in tasks

* fix file count test

* reduce code duplication in test + add test for part

* fix test

* re-add os

* Make pathlib usage simpler
2022-07-27 10:42:34 +10:00
..
fixtures Allow searching of BOM List API endpoint (#3296) 2022-07-06 10:09:58 +10:00
migrations Remove special characters restriction in category names (#3370) 2022-07-21 11:33:21 +10:00
templates/part Refctor image downloader (#3393) 2022-07-25 11:17:59 +10:00
templatetags Refactor template helpers for displaying uploaded images (#3377) 2022-07-22 12:01:56 +10:00
__init__.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
admin.py Merge pull request from GHSA-7rq4-qcpw-74gq 2022-06-15 18:32:35 +10:00
api.py Too generous with a's (#3404) 2022-07-26 12:18:07 +10:00
apps.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
bom.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
filters.py Part page loading improvements (#3185) 2022-06-17 21:26:28 +10:00
forms.py Refctor image downloader (#3393) 2022-07-25 11:17:59 +10:00
models.py Prevent calculation of 'allocation_count' before model is saved (#3235) 2022-06-22 20:50:21 +10:00
serializers.py Refctor image downloader (#3393) 2022-07-25 11:17:59 +10:00
settings.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
tasks.py Overdue order notification (#3114) 2022-06-06 19:12:29 +10:00
test_api.py Reference fields (#3267) 2022-07-11 00:01:46 +10:00
test_bom_export.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
test_bom_import.py Add more checks to pre-commit (#3132) 2022-06-06 08:56:52 +10:00
test_bom_item.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
test_category.py Remove special characters restriction in category names (#3370) 2022-07-21 11:33:21 +10:00
test_migrations.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
test_param.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
test_part.py Setting caching (#3178) 2022-06-12 10:56:16 +10:00
test_views.py Set part category (#3134) 2022-06-06 13:00:30 +10:00
urls.py Refctor image downloader (#3393) 2022-07-25 11:17:59 +10:00
views.py Switch to pathlib (#3392) 2022-07-27 10:42:34 +10:00