Commit graph

110 commits

Author SHA1 Message Date
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
roy simkes
bfc48aab6e fix generic entity filter problem 2020-02-06 18:04:18 +03:00
Iwo Herka
1a0c9d0cc0 Bump version to 0.13.0 2019-06-20 16:18:31 +00:00
Alexander Anikeev
e857819fce Add ability to assign enum values as strings (#46)
* Add ability to assign enum values as strings
* Remove unreachable code (enum validation now fails earlier)
* Enable filtering by enum value
2019-06-20 18:14:19 +02:00
Evgeny Pisemsky
27cf385f58 Provide russian translation (#45) 2019-02-25 20:04:17 +01:00
Alexander Anikeev
cf8f95dfa7 Fix ordering with custom config (#44) 2019-02-01 20:38:41 +01:00
Iwo Herka
08104f8c0e Bump version to 0.12.0 2018-09-21 11:49:03 +00:00
Siegmeyer
92ba7992d7
Add support for order_by clause to EavQuerySet (#39) 2018-09-21 13:47:03 +02:00
John Carter
5ba33e7e6e patch migration, made tox check for missing migrations (#35)
Add tox for missing migrations; fix verbose names in models and migration
2018-08-02 11:16:44 +02:00
Iwo Herka
be0197d5f3 Bump to version 0.11.1 2018-08-01 07:36:22 +00:00
Iwo Herka
d49031c8e6 Bump version to 0.11.0 2018-07-27 14:02:45 +00:00
MajekX
f35ceaed22 Add registration via metaclass (#23)
Example:

    class SomeModel(metaclass=EAVModelMeta):
        pass
2018-07-27 14:01:38 +00:00
Iwo Herka
99254cd578 Move remaining docstrings to Google-stype format (#10) 2018-07-27 13:23:57 +00:00
Iwo Herka
e0a76f86b2 Rename "enums" attribute on the EnumGroup to "values" (#20) 2018-07-27 12:54:05 +00:00
Iwo Herka
d9dba5703c Rewrite documentation for modern Sphinx (#5) 2018-07-23 16:27:12 +00:00
Iwo Herka
d26bcfdbe7 Fix test compatibility 2018-07-20 12:17:19 +00:00
Iwo Herka
c1300903f8 Bump patch version 2018-07-13 14:25:20 +00:00
Iwo Herka
8db7c39bbf Save M2M relations on form save (#13) 2018-07-13 14:06:21 +00:00
Iwo Herka
23be8b41a9 Add tests for forms 2018-07-13 11:54:57 +00:00
Iwo Herka
0677e7f7b5 Clean up code a bit; work on code-style 2018-07-13 09:02:43 +00:00
Iwo Herka
d60614ffb7 Remove 'distinct' call (#4) 2018-06-21 14:29:25 +02:00