wbcore 1.59.16__py2.py3-none-any.whl → 1.60.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wbcore/admin.py +0 -1
- wbcore/configurations/configurations/apps.py +1 -0
- wbcore/contrib/agenda/locale/de/LC_MESSAGES/django.po +17 -18
- wbcore/contrib/agenda/locale/en/LC_MESSAGES/django.po +17 -17
- wbcore/contrib/agenda/locale/fr/LC_MESSAGES/django.po +17 -18
- wbcore/contrib/agenda/models/calendar_item.py +9 -0
- wbcore/contrib/authentication/authentication.py +1 -3
- wbcore/contrib/authentication/configurations.py +0 -1
- wbcore/contrib/authentication/locale/de/LC_MESSAGES/django.po +47 -48
- wbcore/contrib/authentication/locale/en/LC_MESSAGES/django.po +47 -47
- wbcore/contrib/authentication/locale/fr/LC_MESSAGES/django.po +47 -48
- wbcore/contrib/authentication/models/users.py +18 -0
- wbcore/contrib/color/admin.py +1 -0
- wbcore/contrib/color/factories.py +1 -0
- wbcore/contrib/content_type/__init__.py +0 -0
- wbcore/contrib/content_type/apps.py +5 -0
- wbcore/{filters/fields/content_type.py → contrib/content_type/filters.py} +18 -0
- wbcore/{content_type → contrib/content_type}/serializers.py +2 -2
- wbcore/contrib/content_type/urls.py +15 -0
- wbcore/contrib/directory/factories/contacts.py +1 -0
- wbcore/contrib/directory/locale/de/LC_MESSAGES/django.po +307 -271
- wbcore/contrib/directory/locale/en/LC_MESSAGES/django.po +305 -268
- wbcore/contrib/directory/locale/fr/LC_MESSAGES/django.po +305 -269
- wbcore/contrib/directory/migrations/0015_alter_emailcontact_address_and_more.py +47 -0
- wbcore/contrib/directory/models/contacts.py +15 -22
- wbcore/contrib/directory/models/entries.py +82 -2
- wbcore/contrib/directory/models/relationships.py +5 -9
- wbcore/contrib/directory/tests/test_models.py +5 -3
- wbcore/contrib/directory/viewsets/endpoints/__init__.py +2 -0
- wbcore/contrib/directory/viewsets/endpoints/entries.py +10 -0
- wbcore/contrib/directory/viewsets/entries.py +9 -2
- wbcore/contrib/documents/locale/de/LC_MESSAGES/django.po +26 -23
- wbcore/contrib/documents/locale/en/LC_MESSAGES/django.po +26 -22
- wbcore/contrib/documents/locale/fr/LC_MESSAGES/django.po +26 -23
- wbcore/contrib/documents/serializers/document_model_relationships.py +1 -1
- wbcore/contrib/documents/viewsets/documents.py +1 -1
- wbcore/contrib/guardian/__init__.py +0 -0
- wbcore/contrib/guardian/filters.py +1 -0
- wbcore/contrib/guardian/models/mixins.py +1 -0
- wbcore/contrib/guardian/tasks.py +1 -0
- wbcore/contrib/guardian/tests/test_model_mixins.py +1 -0
- wbcore/contrib/guardian/tests/test_tasks.py +1 -0
- wbcore/contrib/guardian/tests/test_utils.py +1 -0
- wbcore/contrib/guardian/tests/test_viewsets.py +1 -0
- wbcore/contrib/guardian/urls.py +1 -0
- wbcore/contrib/guardian/utils.py +1 -0
- wbcore/contrib/guardian/viewsets/configs/buttons.py +1 -0
- wbcore/contrib/guardian/viewsets/configs/endpoints.py +1 -0
- wbcore/contrib/guardian/viewsets/viewsets.py +1 -0
- wbcore/contrib/io/locale/de/LC_MESSAGES/django.po +28 -28
- wbcore/contrib/io/locale/en/LC_MESSAGES/django.po +28 -28
- wbcore/contrib/io/locale/fr/LC_MESSAGES/django.po +28 -28
- wbcore/contrib/notifications/dispatch.py +1 -3
- wbcore/contrib/notifications/locale/de/LC_MESSAGES/django.po +2 -3
- wbcore/contrib/notifications/locale/en/LC_MESSAGES/django.po +2 -2
- wbcore/contrib/notifications/locale/fr/LC_MESSAGES/django.po +2 -3
- wbcore/contrib/notifications/models/notification_types.py +5 -7
- wbcore/contrib/notifications/models/notifications.py +2 -2
- wbcore/contrib/notifications/models/tokens.py +2 -2
- wbcore/contrib/tags/filters.py +2 -2
- wbcore/contrib/tags/serializers.py +2 -2
- wbcore/contrib/workflow/locale/de/LC_MESSAGES/django.po +75 -76
- wbcore/contrib/workflow/locale/en/LC_MESSAGES/django.po +75 -75
- wbcore/contrib/workflow/locale/fr/LC_MESSAGES/django.po +75 -76
- wbcore/contrib/workflow/serializers/process.py +4 -4
- wbcore/contrib/workflow/serializers/workflow.py +1 -1
- wbcore/filters/__init__.py +0 -1
- wbcore/filters/fields/__init__.py +0 -1
- wbcore/frontend_user_configuration.py +3 -2
- wbcore/locale/de/LC_MESSAGES/django.po +159 -129
- wbcore/locale/en/LC_MESSAGES/django.po +158 -129
- wbcore/locale/fr/LC_MESSAGES/django.po +159 -129
- wbcore/menus/menus.py +8 -5
- wbcore/metadata/configs/buttons/view_config.py +4 -1
- wbcore/metadata/configs/display/models.py +4 -5
- wbcore/metadata/configs/endpoints.py +7 -5
- wbcore/migrations/0015_delete_genericmodel.py +16 -0
- wbcore/models/base.py +0 -11
- wbcore/release_notes/models.py +2 -4
- wbcore/serializers/fields/fields.py +4 -2
- wbcore/serializers/fields/number.py +9 -0
- wbcore/shares/config.py +2 -2
- wbcore/signals/merge.py +1 -0
- wbcore/test/utils.py +3 -1
- wbcore/tests/test_permissions/test_backend.py +1 -3
- wbcore/tests/test_something.py +2 -2
- wbcore/urls.py +5 -10
- wbcore/utils/models.py +73 -4
- wbcore/utils/views.py +54 -53
- wbcore/viewsets/mixins.py +1 -1
- wbcore/viewsets/viewsets.py +1 -1
- {wbcore-1.59.16.dist-info → wbcore-1.60.1.dist-info}/METADATA +1 -1
- {wbcore-1.59.16.dist-info → wbcore-1.60.1.dist-info}/RECORD +98 -98
- wbcore/content_type/filters.py +0 -20
- wbcore/pandas/__init__.py +0 -53
- wbcore/pandas/fields.py +0 -25
- wbcore/pandas/filterset.py +0 -9
- wbcore/pandas/utils.py +0 -25
- wbcore/pandas/views.py +0 -9
- /wbcore/{content_type → contrib/color}/__init__.py +0 -0
- /wbcore/{content_type → contrib/content_type}/admin.py +0 -0
- /wbcore/{content_type → contrib/content_type}/utils.py +0 -0
- /wbcore/{content_type → contrib/content_type}/viewsets.py +0 -0
- {wbcore-1.59.16.dist-info → wbcore-1.60.1.dist-info}/WHEEL +0 -0
wbcore/pandas/__init__.py
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import warnings
|
|
2
|
-
|
|
3
|
-
warnings.warn(
|
|
4
|
-
"The 'wbcore.pandas' module is deprecated and will be removed in a future version. "
|
|
5
|
-
"Please use 'wbcore.contrib.pandas' instead.",
|
|
6
|
-
DeprecationWarning,
|
|
7
|
-
stacklevel=2,
|
|
8
|
-
)
|
|
9
|
-
|
|
10
|
-
from wbcore.contrib.pandas import fields
|
|
11
|
-
from wbcore.contrib.pandas.fields import ( # noqa
|
|
12
|
-
PKField,
|
|
13
|
-
CharField,
|
|
14
|
-
DateField,
|
|
15
|
-
DateTimeField,
|
|
16
|
-
DateRangeField,
|
|
17
|
-
BooleanField,
|
|
18
|
-
TextField,
|
|
19
|
-
EmojiRatingField,
|
|
20
|
-
FloatField,
|
|
21
|
-
IntegerField,
|
|
22
|
-
YearField,
|
|
23
|
-
ListField,
|
|
24
|
-
JsonField,
|
|
25
|
-
SparklineField,
|
|
26
|
-
PandasFields,
|
|
27
|
-
)
|
|
28
|
-
from wbcore.contrib.pandas.filters import ( # noqa
|
|
29
|
-
PandasDjangoFilterBackend,
|
|
30
|
-
PandasSearchFilter,
|
|
31
|
-
PandasOrderingFilter,
|
|
32
|
-
)
|
|
33
|
-
from wbcore.contrib.pandas.filterset import PandasFilterSetMixin # noqa
|
|
34
|
-
from wbcore.contrib.pandas.metadata import PandasMetadata # noqa
|
|
35
|
-
from wbcore.contrib.pandas.utils import ( # noqa
|
|
36
|
-
rule,
|
|
37
|
-
overwrite,
|
|
38
|
-
overwrite_rule,
|
|
39
|
-
overwrite_row,
|
|
40
|
-
overwrite_row_df,
|
|
41
|
-
override_number_to_percent,
|
|
42
|
-
override_number_with_currency,
|
|
43
|
-
override_number_to_x,
|
|
44
|
-
override_number_precision,
|
|
45
|
-
override_number_to_decimal,
|
|
46
|
-
override_number_to_integer_without_decorations,
|
|
47
|
-
pct_change_with_negative_values,
|
|
48
|
-
get_empty_series,
|
|
49
|
-
sanitize_field,
|
|
50
|
-
sanitize_fields,
|
|
51
|
-
)
|
|
52
|
-
from wbcore.contrib.pandas import views
|
|
53
|
-
from wbcore.contrib.pandas.views import PandasMixin, PandasAPIView, PandasAPIViewSet # noqa
|
wbcore/pandas/fields.py
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import warnings
|
|
2
|
-
|
|
3
|
-
warnings.warn(
|
|
4
|
-
"The 'wbcore.pandas' module is deprecated and will be removed in a future version. "
|
|
5
|
-
"Please use 'wbcore.contrib.pandas' instead.",
|
|
6
|
-
DeprecationWarning,
|
|
7
|
-
stacklevel=2,
|
|
8
|
-
)
|
|
9
|
-
from wbcore.contrib.pandas.fields import ( # noqa
|
|
10
|
-
PKField,
|
|
11
|
-
CharField,
|
|
12
|
-
DateField,
|
|
13
|
-
DateTimeField,
|
|
14
|
-
DateRangeField,
|
|
15
|
-
BooleanField,
|
|
16
|
-
TextField,
|
|
17
|
-
EmojiRatingField,
|
|
18
|
-
FloatField,
|
|
19
|
-
IntegerField,
|
|
20
|
-
YearField,
|
|
21
|
-
ListField,
|
|
22
|
-
JsonField,
|
|
23
|
-
SparklineField,
|
|
24
|
-
PandasFields,
|
|
25
|
-
)
|
wbcore/pandas/filterset.py
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import warnings
|
|
2
|
-
|
|
3
|
-
warnings.warn(
|
|
4
|
-
"The 'wbcore.pandas' module is deprecated and will be removed in a future version. "
|
|
5
|
-
"Please use 'wbcore.contrib.pandas' instead.",
|
|
6
|
-
DeprecationWarning,
|
|
7
|
-
stacklevel=2,
|
|
8
|
-
)
|
|
9
|
-
from wbcore.contrib.pandas.filterset import PandasFilterSetMixin # noqa
|
wbcore/pandas/utils.py
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import warnings
|
|
2
|
-
|
|
3
|
-
warnings.warn(
|
|
4
|
-
"The 'wbcore.pandas' module is deprecated and will be removed in a future version. "
|
|
5
|
-
"Please use 'wbcore.contrib.pandas' instead.",
|
|
6
|
-
DeprecationWarning,
|
|
7
|
-
stacklevel=2,
|
|
8
|
-
)
|
|
9
|
-
from wbcore.contrib.pandas.utils import ( # noqa
|
|
10
|
-
rule,
|
|
11
|
-
overwrite,
|
|
12
|
-
overwrite_rule,
|
|
13
|
-
overwrite_row,
|
|
14
|
-
overwrite_row_df,
|
|
15
|
-
override_number_to_percent,
|
|
16
|
-
override_number_with_currency,
|
|
17
|
-
override_number_to_x,
|
|
18
|
-
override_number_precision,
|
|
19
|
-
override_number_to_decimal,
|
|
20
|
-
override_number_to_integer_without_decorations,
|
|
21
|
-
pct_change_with_negative_values,
|
|
22
|
-
get_empty_series,
|
|
23
|
-
sanitize_field,
|
|
24
|
-
sanitize_fields,
|
|
25
|
-
)
|
wbcore/pandas/views.py
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import warnings
|
|
2
|
-
|
|
3
|
-
warnings.warn(
|
|
4
|
-
"The 'wbcore.pandas' module is deprecated and will be removed in a future version. "
|
|
5
|
-
"Please use 'wbcore.contrib.pandas' instead.",
|
|
6
|
-
DeprecationWarning,
|
|
7
|
-
stacklevel=2,
|
|
8
|
-
)
|
|
9
|
-
from wbcore.contrib.pandas.views import PandasMixin, PandasAPIView, PandasAPIViewSet # noqa
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|