constec 0.3.3__tar.gz → 0.3.4__tar.gz

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.
Files changed (38) hide show
  1. {constec-0.3.3 → constec-0.3.4}/PKG-INFO +1 -1
  2. constec-0.3.4/constec/db/migrations/0003_remove_module_level.py +15 -0
  3. {constec-0.3.3 → constec-0.3.4}/constec/db/models/__init__.py +1 -2
  4. {constec-0.3.3 → constec-0.3.4}/constec/db/models/module.py +0 -10
  5. {constec-0.3.3 → constec-0.3.4}/constec.egg-info/PKG-INFO +1 -1
  6. {constec-0.3.3 → constec-0.3.4}/constec.egg-info/SOURCES.txt +1 -0
  7. {constec-0.3.3 → constec-0.3.4}/pyproject.toml +1 -1
  8. {constec-0.3.3 → constec-0.3.4}/LICENSE +0 -0
  9. {constec-0.3.3 → constec-0.3.4}/README.md +0 -0
  10. {constec-0.3.3 → constec-0.3.4}/constec/db/__init__.py +0 -0
  11. {constec-0.3.3 → constec-0.3.4}/constec/db/apps.py +0 -0
  12. {constec-0.3.3 → constec-0.3.4}/constec/db/migrations/0001_initial.py +0 -0
  13. {constec-0.3.3 → constec-0.3.4}/constec/db/migrations/0002_module_level.py +0 -0
  14. {constec-0.3.3 → constec-0.3.4}/constec/db/migrations/__init__.py +0 -0
  15. {constec-0.3.3 → constec-0.3.4}/constec/db/models/base.py +0 -0
  16. {constec-0.3.3 → constec-0.3.4}/constec/db/models/company.py +0 -0
  17. {constec-0.3.3 → constec-0.3.4}/constec/db/models/contact.py +0 -0
  18. {constec-0.3.3 → constec-0.3.4}/constec/db/models/erp.py +0 -0
  19. {constec-0.3.3 → constec-0.3.4}/constec/db/models/erp_entity.py +0 -0
  20. {constec-0.3.3 → constec-0.3.4}/constec/db/models/flow.py +0 -0
  21. {constec-0.3.3 → constec-0.3.4}/constec/db/models/group.py +0 -0
  22. {constec-0.3.3 → constec-0.3.4}/constec/db/models/organization.py +0 -0
  23. {constec-0.3.3 → constec-0.3.4}/constec/db/models/person.py +0 -0
  24. {constec-0.3.3 → constec-0.3.4}/constec/db/models/session.py +0 -0
  25. {constec-0.3.3 → constec-0.3.4}/constec/db/models/tag.py +0 -0
  26. {constec-0.3.3 → constec-0.3.4}/constec/db/models/user.py +0 -0
  27. {constec-0.3.3 → constec-0.3.4}/constec/py.typed +0 -0
  28. {constec-0.3.3 → constec-0.3.4}/constec/services/__init__.py +0 -0
  29. {constec-0.3.3 → constec-0.3.4}/constec/services/encryption.py +0 -0
  30. {constec-0.3.3 → constec-0.3.4}/constec/shared/__init__.py +0 -0
  31. {constec-0.3.3 → constec-0.3.4}/constec/shared/exceptions.py +0 -0
  32. {constec-0.3.3 → constec-0.3.4}/constec/utils/__init__.py +0 -0
  33. {constec-0.3.3 → constec-0.3.4}/constec/utils/cuit.py +0 -0
  34. {constec-0.3.3 → constec-0.3.4}/constec/utils/password.py +0 -0
  35. {constec-0.3.3 → constec-0.3.4}/constec.egg-info/dependency_links.txt +0 -0
  36. {constec-0.3.3 → constec-0.3.4}/constec.egg-info/requires.txt +0 -0
  37. {constec-0.3.3 → constec-0.3.4}/constec.egg-info/top_level.txt +0 -0
  38. {constec-0.3.3 → constec-0.3.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: constec
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: Base library for the Constec ecosystem - shared utilities, models, and namespace foundation
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/TpmyCT/constec-python
@@ -0,0 +1,15 @@
1
+ from django.db import migrations
2
+
3
+
4
+ class Migration(migrations.Migration):
5
+
6
+ dependencies = [
7
+ ('constec_db', '0002_module_level'),
8
+ ]
9
+
10
+ operations = [
11
+ migrations.RemoveField(
12
+ model_name='module',
13
+ name='level',
14
+ ),
15
+ ]
@@ -24,7 +24,7 @@ from .person import Person
24
24
  from .group import UserGroup
25
25
  from .contact import ContactType, Contact, PersonContact
26
26
  from .tag import TagCategory, PersonTag, PersonTagged
27
- from .module import Module, ModuleLevel, CompanyModule, OrganizationModule
27
+ from .module import Module, CompanyModule, OrganizationModule
28
28
 
29
29
  # ERP models (erp schema)
30
30
  from .erp import System, CompanySystem, Connection
@@ -69,7 +69,6 @@ __all__ = [
69
69
  'PersonTagged',
70
70
  # Module
71
71
  'Module',
72
- 'ModuleLevel',
73
72
  'CompanyModule',
74
73
  'OrganizationModule',
75
74
  # ERP (erp schema)
@@ -4,11 +4,6 @@ from .company import Company
4
4
  from .organization import Organization
5
5
 
6
6
 
7
- class ModuleLevel(models.TextChoices):
8
- ORGANIZATION = 'organization', 'Organization Level'
9
- COMPANY = 'company', 'Company Level'
10
-
11
-
12
7
  class Module(UUIDModel):
13
8
  """Available modules in the platform."""
14
9
  name = models.CharField(max_length=100)
@@ -16,11 +11,6 @@ class Module(UUIDModel):
16
11
  description = models.TextField(blank=True, null=True)
17
12
  version = models.CharField(max_length=20)
18
13
  is_active = models.BooleanField(default=True)
19
- level = models.CharField(
20
- max_length=20,
21
- choices=ModuleLevel.choices,
22
- default=ModuleLevel.COMPANY,
23
- )
24
14
 
25
15
  class Meta:
26
16
  app_label = 'constec_db'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: constec
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: Base library for the Constec ecosystem - shared utilities, models, and namespace foundation
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/TpmyCT/constec-python
@@ -11,6 +11,7 @@ constec/db/__init__.py
11
11
  constec/db/apps.py
12
12
  constec/db/migrations/0001_initial.py
13
13
  constec/db/migrations/0002_module_level.py
14
+ constec/db/migrations/0003_remove_module_level.py
14
15
  constec/db/migrations/__init__.py
15
16
  constec/db/models/__init__.py
16
17
  constec/db/models/base.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "constec"
7
- version = "0.3.3"
7
+ version = "0.3.4"
8
8
  description = "Base library for the Constec ecosystem - shared utilities, models, and namespace foundation"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes