Commit graph

159 commits

Author SHA1 Message Date
mathiasag7
08a26993c1 tests + migration file updated 2024-03-22 16:20:56 +01:00
mathiasag7
4c6ceedf04 tests + migration file updated 2024-03-22 16:04:42 +01:00
mathiasag7
3b8d28c49e tests + migration file updated 2024-03-22 15:55:01 +01:00
mathiasag7
2ff929281a tests + migration file updated 2024-03-22 15:49:47 +01:00
mathiasag7
ae01a4cfe9
Merge branch 'jazzband:master' into master 2024-03-08 12:59:29 +01:00
Mike
792fc65003 chore: remove support for Django < 3.2 and Python < 3.8 2024-03-06 10:05:42 -08:00
Mike
d6af6a004a refactor(admin): optimize EAV field handling in admin forms 2024-03-06 09:34:45 -08:00
Mike
93c434bf72 feat(admin): enhance admin integration for dynamic EAV fieldsets
- Implement dynamic EAV fieldset rendering in admin forms, supporting the inclusion of EAV attributes alongside standard model fields.
- Introduce `eav_fieldset_title` and `eav_fieldset_description` to customize the display of EAV fields in the admin.
- Refactor `render_change_form` to dynamically assemble fieldsets, including a dedicated section for EAV attributes.
2024-03-06 09:34:45 -08:00
Christian Clauss
0b683ef3d5 Fix typos with codespell --ignore-words-list=unkown --skip="*.po" -w 2024-01-10 21:06:29 +01:00
mathiasag7
2f1957f01a fix: error in migration files 2023-12-20 16:34:45 +01:00
Jacob Fredericksen
ee3f5662de fix: use typing.Tuple for annotations 2023-12-06 17:53:36 -05:00
Jacob Fredericksen
289e86e03f fix: use typing.Tuple for annotations 2023-12-06 13:43:02 -05:00
Jacob Fredericksen
08086b00c6 fix: use typing.Tuple for annotations 2023-12-05 11:47:28 -05:00
mathiasag7
5c0b0d6ebf changelog updated 2023-12-04 09:52:06 +01:00
mathiasag7
b0c2b50800 set charfield as default pk to avoid errors 2023-12-04 09:35:35 +01:00
Jacob Fredericksen
1cdc2c4a41 refactor: cleanup 2023-11-30 13:11:59 -05:00
Jacob Fredericksen
7153bedce0 refactor: split model modules 2023-11-30 13:05:20 -05:00
mathiasag7
3b1be10e9b
feat: Provide UUIDField option for pk field and a natural key feature for serialization (#428) 2023-10-30 08:57:29 -07:00
mathiasag7
9407982d29 revert changes 2023-10-16 10:20:02 +01:00
pre-commit-ci[bot]
7a00e04afc [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-10-13 10:29:16 +00:00
mathiasag7
0000e26205 migration file created 2023-10-13 11:28:47 +01:00
mathiasag7
06e8cd5545 Merge branch 'master' of github.com:mathiasag7/django-eav2-uuid 2023-10-13 10:26:16 +01:00
mathiasag7
6e90e9c6b1 test: test_attribute errors corrected on AutoField 2023-10-13 10:25:48 +01:00
pre-commit-ci[bot]
f342f3cab6 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-10-06 10:46:13 +00:00
mathiasag7
33f62799d0 feat: natural key for serialization and UUIDField possibility for pk field added 2023-10-06 11:41:44 +01:00
Mike
d45e31520e fix(queryset): apply filter to combine multiple eav filter kwargs 2023-09-08 14:06:52 -07:00
mathiasag7
ce2b606dc4 fix: error on attribute creation 2023-09-07 16:49:22 +01:00
mathiasag7
832d4f3332 fix: get attribute for value natural key function 2023-09-07 10:08:51 +01:00
mathiasag7
a73e327253 feat: natural key handler added to value model 2023-09-06 17:19:19 +01:00
mathiasag7
de7fb7963c feat: natural key handler added to models except value model 2023-09-06 16:54:16 +01:00
mathiasag7
8977495d08 add charfield possibility to eav id models field 2023-09-06 15:40:13 +01:00
mathiasag7
413cdf7473 add uuid configuration for id generation of eav models 2023-09-06 14:24:49 +01:00
Kira
d1e13cab4a add id translations 2023-06-29 17:14:00 +08:00
Mike
8fbd18bf79 fix: generating migration for model text changes 2023-02-22 08:09:36 -07:00
Mike
066ae8e310 chore: remove support for Django 2.2 2023-02-10 09:56:08 -07:00
Mike
a98c0d2904
Use SplitDateTimeField for date Attribute types (#321)
* fix: use field class SplitDateTimeField for type 'date'
Fixes #261

* refactor: remove import conflict of django.forms

* style: isort imports

* docs: add fix #261 to changelog
2023-02-10 08:35:05 -08:00
954
d6a05a0ccb
chore(locale): update translation of zh_Hans (#318) 2023-02-10 06:33:40 -08:00
pre-commit-ci[bot]
6047a9c486
[pre-commit.ci] pre-commit autoupdate (#316)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-06 19:48:54 -08:00
954
116103b2a0
chore(models): fill verbose_name to most models. (#314)
* chore(models): fill `verbose_name` to most models.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-06 08:07:33 -08:00
954
6bc1b19967
chore(locale): provide zh-Hans(Simplified Chinese) translation (#308)
* chore(locale): provide zh-Hans(Simplified Chinese) translation

* chore(locale/models): append `verbose_name` and `verbose_name_plural` for `eav.models`, to support translation.
2023-01-28 06:57:23 -08:00
Ihor Sychevskyi
ac070dba28
update links (#275) 2022-11-16 01:53:47 +02:00
Mikalai Hryb
5760f20f7a fix BaseEntityAdmin 2022-09-01 01:01:43 +02:00
Mike
62184d8ccf docs: resolve docstring error 2022-08-13 10:07:54 -07:00
Mike
0a3a6f6fd7 fix: use typing_extensions 2022-08-12 14:56:47 -07:00
Mike
31e12a0ef9 chore: remove unused EavSlugField 2022-08-12 14:36:49 -07:00
Mike
653ed7fd38 refactor: move generate_slug to logic 2022-08-12 14:23:41 -07:00
Mike
f6afc45613 fix: ensure a proper slug is generated 2022-08-12 14:00:35 -07:00
Mike
e5f9ecb9e9 chore: use Django's SlugField() for Attribute.slug 2022-08-12 13:36:26 -07:00
Mike
8332a39def fix: #187 provide eav value during field cleaning 2022-06-12 21:58:44 -07:00
David
99b9bfc3ef
fixes https://github.com/jazzband/django-eav2/issues/163 (#164)
* fixes https://github.com/jazzband/django-eav2/issues/163

* chore: revert content to master

* fix: don't expand relational fields

* chore: ignore .vscode

* chore: update changelog

* chore: remove stale code

Co-authored-by: Mike <mike@zivix.com>
Co-authored-by: Mike <22396211+Dresdn@users.noreply.github.com>
2022-02-08 18:13:12 -08:00