wbcore 1.59.8__py2.py3-none-any.whl → 1.59.10__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/contrib/authentication/migrations/0007_alter_token_unique_together_token_unique_token.py +21 -0
- wbcore/contrib/authentication/models/tokens.py +1 -1
- wbcore/contrib/currency/migrations/0002_alter_currencyfxrates_unique_together_and_more.py +22 -0
- wbcore/contrib/currency/models.py +1 -1
- wbcore/contrib/io/migrations/0009_alter_importedobjectproviderrelationship_unique_together_and_more.py +34 -0
- wbcore/contrib/io/models.py +11 -5
- wbcore/contrib/tags/migrations/0002_alter_tag_unique_together_tag_unique_tag.py +22 -0
- wbcore/contrib/tags/models/tags.py +1 -1
- {wbcore-1.59.8.dist-info → wbcore-1.59.10.dist-info}/METADATA +1 -1
- {wbcore-1.59.8.dist-info → wbcore-1.59.10.dist-info}/RECORD +11 -7
- {wbcore-1.59.8.dist-info → wbcore-1.59.10.dist-info}/WHEEL +0 -0
wbcore/contrib/authentication/migrations/0007_alter_token_unique_together_token_unique_token.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated by Django 5.2.9 on 2025-12-16 15:26
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('authentication', '0006_auto_20231206_1422'),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AlterUniqueTogether(
|
|
14
|
+
name='token',
|
|
15
|
+
unique_together=set(),
|
|
16
|
+
),
|
|
17
|
+
migrations.AddConstraint(
|
|
18
|
+
model_name='token',
|
|
19
|
+
constraint=models.UniqueConstraint(fields=('user', 'protected_view_name'), name='unique_token'),
|
|
20
|
+
),
|
|
21
|
+
]
|
|
@@ -137,4 +137,4 @@ class Token(DRFToken):
|
|
|
137
137
|
class Meta:
|
|
138
138
|
verbose_name = _("Token")
|
|
139
139
|
verbose_name_plural = _("Tokens")
|
|
140
|
-
|
|
140
|
+
constraints = (models.UniqueConstraint(name="unique_token", fields=("user", "protected_view_name")),)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated by Django 5.2.9 on 2025-12-16 15:26
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('currency', '0001_initial'),
|
|
10
|
+
('io', '0008_importsource_resource_kwargs'),
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
operations = [
|
|
14
|
+
migrations.AlterUniqueTogether(
|
|
15
|
+
name='currencyfxrates',
|
|
16
|
+
unique_together=set(),
|
|
17
|
+
),
|
|
18
|
+
migrations.AddConstraint(
|
|
19
|
+
model_name='currencyfxrates',
|
|
20
|
+
constraint=models.UniqueConstraint(fields=('date', 'currency'), name='unique_currency'),
|
|
21
|
+
),
|
|
22
|
+
]
|
|
@@ -114,7 +114,7 @@ class CurrencyFXRates(ImportMixin, models.Model):
|
|
|
114
114
|
class Meta:
|
|
115
115
|
verbose_name = "FX Rate"
|
|
116
116
|
verbose_name_plural = "FX Rates"
|
|
117
|
-
|
|
117
|
+
constraints = (models.UniqueConstraint(name="unique_currency", fields=("date", "currency")),)
|
|
118
118
|
indexes = [
|
|
119
119
|
models.Index(
|
|
120
120
|
name="currency_fx_rate_idx",
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Generated by Django 5.2.9 on 2025-12-16 15:26
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('contenttypes', '0002_remove_content_type_name'),
|
|
10
|
+
('io', '0008_importsource_resource_kwargs'),
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
operations = [
|
|
14
|
+
migrations.AlterUniqueTogether(
|
|
15
|
+
name='importedobjectproviderrelationship',
|
|
16
|
+
unique_together=set(),
|
|
17
|
+
),
|
|
18
|
+
migrations.AlterUniqueTogether(
|
|
19
|
+
name='parserhandler',
|
|
20
|
+
unique_together=set(),
|
|
21
|
+
),
|
|
22
|
+
migrations.AddConstraint(
|
|
23
|
+
model_name='importedobjectproviderrelationship',
|
|
24
|
+
constraint=models.UniqueConstraint(fields=('content_type', 'object_id', 'provider'), name='unique_contentobjectprovideridentifierrelationship'),
|
|
25
|
+
),
|
|
26
|
+
migrations.AddConstraint(
|
|
27
|
+
model_name='importedobjectproviderrelationship',
|
|
28
|
+
constraint=models.UniqueConstraint(fields=('content_type', 'provider_identifier', 'provider'), name='unique_contentobjectprovideridentifier'),
|
|
29
|
+
),
|
|
30
|
+
migrations.AddConstraint(
|
|
31
|
+
model_name='parserhandler',
|
|
32
|
+
constraint=models.UniqueConstraint(fields=('parser', 'handler'), name='unique_parserhandler'),
|
|
33
|
+
),
|
|
34
|
+
]
|
wbcore/contrib/io/models.py
CHANGED
|
@@ -91,7 +91,7 @@ class ParserHandler(models.Model):
|
|
|
91
91
|
handler.process(parsed_data, **kwargs)
|
|
92
92
|
|
|
93
93
|
class Meta:
|
|
94
|
-
|
|
94
|
+
constraints = (models.UniqueConstraint(name="unique_parserhandler", fields=("parser", "handler")),)
|
|
95
95
|
verbose_name = _("Parser-Handler")
|
|
96
96
|
verbose_name_plural = _("Parsers-Handlers")
|
|
97
97
|
|
|
@@ -132,10 +132,16 @@ class ImportedObjectProviderRelationship(ComplexToStringMixin):
|
|
|
132
132
|
class Meta:
|
|
133
133
|
verbose_name = _("Content object Provider Identifier relationship")
|
|
134
134
|
verbose_name_plural = _("Content object Provider Identifier relationships")
|
|
135
|
-
|
|
136
|
-
(
|
|
137
|
-
|
|
138
|
-
|
|
135
|
+
constraints = (
|
|
136
|
+
models.UniqueConstraint(
|
|
137
|
+
name="unique_contentobjectprovideridentifierrelationship",
|
|
138
|
+
fields=("content_type", "object_id", "provider"),
|
|
139
|
+
),
|
|
140
|
+
models.UniqueConstraint(
|
|
141
|
+
name="unique_contentobjectprovideridentifier",
|
|
142
|
+
fields=("content_type", "provider_identifier", "provider"),
|
|
143
|
+
),
|
|
144
|
+
)
|
|
139
145
|
indexes = [
|
|
140
146
|
models.Index(fields=["content_type", "object_id", "provider"]),
|
|
141
147
|
models.Index(fields=["content_type", "provider_identifier", "provider"]),
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated by Django 5.2.9 on 2025-12-16 15:26
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('contenttypes', '0002_remove_content_type_name'),
|
|
10
|
+
('tags', '0001_initial'),
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
operations = [
|
|
14
|
+
migrations.AlterUniqueTogether(
|
|
15
|
+
name='tag',
|
|
16
|
+
unique_together=set(),
|
|
17
|
+
),
|
|
18
|
+
migrations.AddConstraint(
|
|
19
|
+
model_name='tag',
|
|
20
|
+
constraint=models.UniqueConstraint(fields=('slug', 'content_type'), name='unique_tag'),
|
|
21
|
+
),
|
|
22
|
+
]
|
|
@@ -31,7 +31,7 @@ class Tag(ComplexToStringMixin, ManagedMixin):
|
|
|
31
31
|
)
|
|
32
32
|
|
|
33
33
|
class Meta:
|
|
34
|
-
|
|
34
|
+
constraints = (models.UniqueConstraint(name="unique_tag", fields=("slug", "content_type")),)
|
|
35
35
|
verbose_name = "Tag"
|
|
36
36
|
verbose_name_plural = "Tags"
|
|
37
37
|
|
|
@@ -148,9 +148,10 @@ wbcore/contrib/authentication/migrations/0003_alter_user_profile.py,sha256=WW8PW
|
|
|
148
148
|
wbcore/contrib/authentication/migrations/0004_token.py,sha256=rD5Tpby4iUb4Vje-IejhJW1PWIZTmMPW4QGtIQtYpos,1971
|
|
149
149
|
wbcore/contrib/authentication/migrations/0005_user_external_calendar_settings.py,sha256=BegFBiGbtbNWoGGATBbfHn9GcDkmdqKhLdf8VeLvwYc,386
|
|
150
150
|
wbcore/contrib/authentication/migrations/0006_auto_20231206_1422.py,sha256=jetLcssq55i2KKc8TV1YGHgv3aLB1d63GfC3q7G8cmQ,259
|
|
151
|
+
wbcore/contrib/authentication/migrations/0007_alter_token_unique_together_token_unique_token.py,sha256=wNrKthi0VzNzfMyjx-umfbAPp5PArKIf6OEl3RgXdDM,538
|
|
151
152
|
wbcore/contrib/authentication/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
152
153
|
wbcore/contrib/authentication/models/__init__.py,sha256=GhtPxWgZEUcbFQt2ArdB6OPjyEYav3F_XddlKnht0_w,125
|
|
153
|
-
wbcore/contrib/authentication/models/tokens.py,sha256=
|
|
154
|
+
wbcore/contrib/authentication/models/tokens.py,sha256=03m0BiU1U3EPohNOagyEKqGSzKEBpPm2GkoazqwmuTA,5465
|
|
154
155
|
wbcore/contrib/authentication/models/users.py,sha256=ShQjVpEKHCgwH1IajrYXMlDef13xinf2WqfV68aQf-A,7826
|
|
155
156
|
wbcore/contrib/authentication/models/users_activities.py,sha256=uyr1FLNNCC9YDBN7hKnVGDjc9DmonY-BjPqtrUUA8o8,4289
|
|
156
157
|
wbcore/contrib/authentication/release_notes/1_0_0.md,sha256=pZ6rgeR5mTB3vabX3eaEJXMSfs7m4a1SEbYdpAmXwyI,170
|
|
@@ -215,7 +216,7 @@ wbcore/contrib/currency/admin.py,sha256=40IS_gMyIXjYYUka35Olk3aYI3cLLb5NXpC_rWds
|
|
|
215
216
|
wbcore/contrib/currency/apps.py,sha256=10grJHw9gyBLDfbVJ-gGGUFcU5AgTaH7uBFr8j0bshE,106
|
|
216
217
|
wbcore/contrib/currency/dynamic_preferences_registry.py,sha256=1f4tPjAf1OYyp4FPUZ9WCdh8cEcM_1OD_y5GWRCa6NA,1074
|
|
217
218
|
wbcore/contrib/currency/factories.py,sha256=DTFzyceTewYzj3IFyI3roJCwF1VWKZOZKLcsJg829mA,1211
|
|
218
|
-
wbcore/contrib/currency/models.py,sha256=
|
|
219
|
+
wbcore/contrib/currency/models.py,sha256=kyHwsLmhxrtbGNBDENuMVMRLKBd93xJ2N2nrvgicqck,7016
|
|
219
220
|
wbcore/contrib/currency/serializers.py,sha256=v9y5ldcxe9cm2rabwEI9yHIj2Sp0QKnVAs9eX6F60fY,1448
|
|
220
221
|
wbcore/contrib/currency/urls.py,sha256=kyM6mM-1wQtsdc58r7MsSgAGhVS-4U-xLPeC3-XPNys,685
|
|
221
222
|
wbcore/contrib/currency/fixtures/currency.yaml,sha256=lB0DyTrfSt96fym_fc8_13qsWIk09h-6jfVnjHIhVQs,17225
|
|
@@ -232,6 +233,7 @@ wbcore/contrib/currency/import_export/parsers/__init__.py,sha256=47DEQpj8HBSa-_T
|
|
|
232
233
|
wbcore/contrib/currency/import_export/parsers/fixerio/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
233
234
|
wbcore/contrib/currency/import_export/parsers/fixerio/currency_fx_rates.py,sha256=pGO36qKVqdhwWjJpuQqa-UO0i_UWIVtQF3-jAUvoyV4,1242
|
|
234
235
|
wbcore/contrib/currency/migrations/0001_initial.py,sha256=v1bMEVABzqAHn6D9jdBzbj4j5wTrUYDc7_fONdEQ7Jw,3063
|
|
236
|
+
wbcore/contrib/currency/migrations/0002_alter_currencyfxrates_unique_together_and_more.py,sha256=lrID4O3GDJodjWUL5bnIlNA0Qo1FBHbT2y5gcypPGuY,586
|
|
235
237
|
wbcore/contrib/currency/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
236
238
|
wbcore/contrib/currency/release_notes/1_0_0.md,sha256=Hm_Jt3S7nv30s3-Hl_ie0xkHgrRsZLuiBpOXkIDj2UE,164
|
|
237
239
|
wbcore/contrib/currency/release_notes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -674,7 +676,7 @@ wbcore/contrib/io/exceptions.py,sha256=-9pTtBr4oj7qBpKwnsN7sabu5S6gpDkWTXkA4ZaW9
|
|
|
674
676
|
wbcore/contrib/io/factories.py,sha256=VVtUf_YPJOkT0YmJ0M09bKz1RINd98yb-ZJKwu5F5R0,7133
|
|
675
677
|
wbcore/contrib/io/imports.py,sha256=Hu8ppai06SQ_CDQ2oUbFcwduAhekCp1l1DB89kTn2nQ,13087
|
|
676
678
|
wbcore/contrib/io/mixins.py,sha256=Sy_1mfdJzrIODCRcbfiA6miU8EqKEaJhL7mEjsRhOvY,1297
|
|
677
|
-
wbcore/contrib/io/models.py,sha256=
|
|
679
|
+
wbcore/contrib/io/models.py,sha256=Cl0Yc4rsNqvVPJPubGh81-4wdjhqRBG--8Id3FT4-rE,40856
|
|
678
680
|
wbcore/contrib/io/resources.py,sha256=eGEpmyrtkB3DgFKV6m57OFzyu6jBZUIXkn5Jopeus9M,6953
|
|
679
681
|
wbcore/contrib/io/serializers.py,sha256=oS5od8ni8wUZml1zM_RAdW9VWrw226Ru4v3RBifOnFY,4639
|
|
680
682
|
wbcore/contrib/io/signals.py,sha256=jCGHjt5Qg2T1aIi4BzWYzWYb2YZT82gUMhG68v2rx58,145
|
|
@@ -712,6 +714,7 @@ wbcore/contrib/io/migrations/0005_exportsource_data_alter_exportsource_query_str
|
|
|
712
714
|
wbcore/contrib/io/migrations/0006_alter_exportsource_query_params.py,sha256=JHnzz6C1Mr2kVcD5bBJMO6eNvqSFfvw6c0NoGL7pcqs,578
|
|
713
715
|
wbcore/contrib/io/migrations/0007_alter_exportsource_query_params.py,sha256=xHVM23caWAPjo1eTrfTm37G20j8r_AxapoEgb685c2Q,617
|
|
714
716
|
wbcore/contrib/io/migrations/0008_importsource_resource_kwargs.py,sha256=dZx4LUedW8I1Sf0JBMvWgauFbJlzw6HBT6WjhQUW72c,419
|
|
717
|
+
wbcore/contrib/io/migrations/0009_alter_importedobjectproviderrelationship_unique_together_and_more.py,sha256=QWtL5kTQhV0ThhNTj-ERu56kUkokUX7LBaGiMjSL1W4,1274
|
|
715
718
|
wbcore/contrib/io/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
716
719
|
wbcore/contrib/io/release_notes/1_0_0.md,sha256=1nJ-vnOKk4l5-gU8GTyKrvoz-YUKSGyX96KBoFDlKQc,238
|
|
717
720
|
wbcore/contrib/io/release_notes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -813,10 +816,11 @@ wbcore/contrib/tags/serializers.py,sha256=H5pxHrXd7nOiZU67zIKgp3_HCb5ARyluywpnb4
|
|
|
813
816
|
wbcore/contrib/tags/signals.py,sha256=4WDNS2wL-JqSQPaSNDUDnxUEUMmNIs5lnJ7S1H05ydw,726
|
|
814
817
|
wbcore/contrib/tags/urls.py,sha256=y_QatHkx9hyIUfdYnBX4zfMQkKtTVdztQ8FQmpDV4cE,727
|
|
815
818
|
wbcore/contrib/tags/migrations/0001_initial.py,sha256=6dswzuzzubfzx5cJ69Njz7ZtDBCf0UwAbUrctTsNE00,2301
|
|
819
|
+
wbcore/contrib/tags/migrations/0002_alter_tag_unique_together_tag_unique_tag.py,sha256=3A45U-LPzs5vTnPmlCGKPw8S8hXIHNJ4ly7K7acJNec,563
|
|
816
820
|
wbcore/contrib/tags/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
817
821
|
wbcore/contrib/tags/models/__init__.py,sha256=o5Oqc0SJ5kZWQ466Z5Wgj8J9Ppsv1E3JcuLHWM5p9Zw,66
|
|
818
822
|
wbcore/contrib/tags/models/mixins.py,sha256=B3UhUsU3veuGsh_cx6-VASxvUMVPKanaOknkYp0SmFg,950
|
|
819
|
-
wbcore/contrib/tags/models/tags.py,sha256=
|
|
823
|
+
wbcore/contrib/tags/models/tags.py,sha256=DjItYIoB2065lEbx9qDoEEdx03WkZveauYYj-e46f1M,3285
|
|
820
824
|
wbcore/contrib/tags/release_notes/1_0_0.md,sha256=jG3JupsX-qW0P8UN2ktJJce_7mCMCc1fAL-nbiCJJnE,160
|
|
821
825
|
wbcore/contrib/tags/release_notes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
822
826
|
wbcore/contrib/tags/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -1234,6 +1238,6 @@ wbcore/viewsets/generics.py,sha256=lKDq9UY_Tyc56u1bqaIEvHGgoaXwXxpZ1c3fLVteptI,1
|
|
|
1234
1238
|
wbcore/viewsets/mixins.py,sha256=IdHd_uixOv3ExKoHxTgL5Bt8OELIwfYwhBZm0nsvZfc,12054
|
|
1235
1239
|
wbcore/viewsets/utils.py,sha256=4520Ij3ASM8lOa8QZkCqbBfOexVRiZu688eW-PGqMOA,882
|
|
1236
1240
|
wbcore/viewsets/viewsets.py,sha256=FPPESunEjlunDr5VFsjTfsquTS3iDSQkw0H6QjMKPqk,6574
|
|
1237
|
-
wbcore-1.59.
|
|
1238
|
-
wbcore-1.59.
|
|
1239
|
-
wbcore-1.59.
|
|
1241
|
+
wbcore-1.59.10.dist-info/METADATA,sha256=r1B8o9_zuQvqbktWx2PF9jfsqx0zfVkDWm8CjD6yEwY,2317
|
|
1242
|
+
wbcore-1.59.10.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
|
|
1243
|
+
wbcore-1.59.10.dist-info/RECORD,,
|
|
File without changes
|