Commit graph

130 commits

Author SHA1 Message Date
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
Mike
d45e31520e fix(queryset): apply filter to combine multiple eav filter kwargs 2023-09-08 14:06:52 -07: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
Mike
ed7a808ee8
Allow for integer values larger than 32-bits (#137)
* style: apply ignores to all migrations

* feat: support 64-bit integers

* doc: update changelog

* test: add test for bigger than 32-bit integer
2021-12-18 19:29:38 -08:00
Mike
bb68d7cec7
fix: correct str() and repr() for EnumGroup and EnumValue (#92)
* test: add tests for Enum represtations

* chore: correct str() and repr() for EnumGroup and EnumValue
2021-10-26 07:04:44 -07:00
PUYUP
9b5df1c99e
fix: handle models with empty local_managers (#90)
* Fix value error

* test: add test for models with empty local_managers

* fix: check for local_managers being empty

Co-authored-by: Mike <22396211+Dresdn@users.noreply.github.com>
2021-10-26 06:10:36 -07:00
Mike
a98766fc55
Add support for Entity models with UUID as a primary key. (#89)
* chore: fix repo links

* style: flake8 format models.Value

* test: add test for an entity with uuid pk

* feat: support entity models with uuid as pk

* test: check Value repr and str methods
2021-10-22 15:36:17 -07:00
Mike
fe65a9f542 fix: handle defaults keyword with get_or_create() 2021-10-20 07:08:08 -07:00
Mike
5b9e5f2615 style: explicitly define import path 2021-10-16 10:45:01 -07:00
Mike
065de53ba4 style: run isort 2021-10-16 10:43:20 -07:00
Mike
b1badf8dc5 style: run black formatter 2021-10-16 10:43:02 -07:00
Mike
eb21c74a21 Implement django_jsonfield_backport 2021-10-15 17:25:10 -07:00
PUYUP
198911582a fix max_length 2021-10-12 12:49:25 +07:00
Mike
9849f8356d chore: remove version from __init__ 2021-06-17 16:39:03 -07:00
~lmn
6d10892c20
Update 0005 migration - Default to empty str instead of list 2021-05-11 11:01:16 -03:00
Mauro
b2c16c05c4 Adding CSV datatype + CSVField (widget, formfield also) + validators + tests 2021-05-10 17:13:42 -03:00
Mauro
47efd09cb2 Bump ver + update setup 2021-04-23 16:08:07 -03:00
Mauro
4e9f04bdc6 Adding value_bool migration 2021-04-23 16:07:55 -03:00
Mauro
49ee47c399 Updating translations from ugettext_lazy to gettext_lazy and deprecating djangotip from python <3.8 2021-04-23 12:19:06 -03:00
~lmn
8ecd0e241b
Merge branch 'master' into json-datatype 2021-04-14 10:40:13 -03:00
Mauro
851ca4cc74 Replaces NullBoolean with Boolean (closes: #56) 2021-04-04 23:57:52 -03:00
Mauro
39e1ff35f7 Adding a JSON Datatype 2021-04-04 23:53:45 -03:00
Mike Stralek
9983786184 create manage.py; move new field to own migration 2021-01-04 17:41:57 -08:00
Daniel Indictor
715dea0626
Merge pull request #59 from wackerservices/feature/model-specific-attributes
New feature: many to many to content type on attribute
2020-11-13 00:41:31 -05:00
Daniel Indictor
71a517d1da
Merge pull request #60 from wackerservices/feature/instance-level-attributes
Add instance parameter to config get_attributes
2020-11-13 00:39:49 -05:00
Zach Taylor
9a4c8f3ad3 Add instance parameter to config get_attributes 2020-10-22 15:53:34 -05:00
Zach Taylor
5d8ba99361 Change foreign key to many to many to allow more flexibility 2020-10-21 16:03:20 -05:00
Zach Taylor
aaaa813b9b Remove verbose_name and add documentation 2020-10-20 15:02:45 -05:00
Zach Taylor
2c5e1e6602 Add entity_ct to Attribute model 2020-10-20 11:28:14 -05:00
Zach Taylor
def1bc5ade Allow attribute_value to be None if enum type 2020-10-19 14:45:29 -05:00
Daniel Indictor
1f629506a8
Merge pull request #49 from radalin/master
fix generic entity filter problem
2020-07-25 05:07:24 -04:00
John Vandenberg
e5c3ec600b Update import for Django 3.1 support 2020-07-15 07:49:04 +07:00