django-modelcluster 6.3__tar.gz → 6.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 (22) hide show
  1. {django-modelcluster-6.3 → django-modelcluster-6.4}/CHANGELOG.txt +7 -0
  2. {django-modelcluster-6.3/django_modelcluster.egg-info → django-modelcluster-6.4}/PKG-INFO +3 -3
  3. {django-modelcluster-6.3 → django-modelcluster-6.4/django_modelcluster.egg-info}/PKG-INFO +3 -3
  4. {django-modelcluster-6.3 → django-modelcluster-6.4}/django_modelcluster.egg-info/requires.txt +1 -2
  5. {django-modelcluster-6.3 → django-modelcluster-6.4}/modelcluster/forms.py +3 -1
  6. {django-modelcluster-6.3 → django-modelcluster-6.4}/setup.py +4 -5
  7. {django-modelcluster-6.3 → django-modelcluster-6.4}/LICENSE +0 -0
  8. {django-modelcluster-6.3 → django-modelcluster-6.4}/MANIFEST.in +0 -0
  9. {django-modelcluster-6.3 → django-modelcluster-6.4}/README.rst +0 -0
  10. {django-modelcluster-6.3 → django-modelcluster-6.4}/django_modelcluster.egg-info/SOURCES.txt +0 -0
  11. {django-modelcluster-6.3 → django-modelcluster-6.4}/django_modelcluster.egg-info/dependency_links.txt +0 -0
  12. {django-modelcluster-6.3 → django-modelcluster-6.4}/django_modelcluster.egg-info/top_level.txt +0 -0
  13. {django-modelcluster-6.3 → django-modelcluster-6.4}/modelcluster/__init__.py +0 -0
  14. {django-modelcluster-6.3 → django-modelcluster-6.4}/modelcluster/contrib/__init__.py +0 -0
  15. {django-modelcluster-6.3 → django-modelcluster-6.4}/modelcluster/contrib/taggit.py +0 -0
  16. {django-modelcluster-6.3 → django-modelcluster-6.4}/modelcluster/datetime_utils.py +0 -0
  17. {django-modelcluster-6.3 → django-modelcluster-6.4}/modelcluster/fields.py +0 -0
  18. {django-modelcluster-6.3 → django-modelcluster-6.4}/modelcluster/models.py +0 -0
  19. {django-modelcluster-6.3 → django-modelcluster-6.4}/modelcluster/queryset.py +0 -0
  20. {django-modelcluster-6.3 → django-modelcluster-6.4}/modelcluster/tags.py +0 -0
  21. {django-modelcluster-6.3 → django-modelcluster-6.4}/modelcluster/utils.py +0 -0
  22. {django-modelcluster-6.3 → django-modelcluster-6.4}/setup.cfg +0 -0
@@ -1,6 +1,13 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 6.4 (18.12.2024)
5
+ ~~~~~~~~~~~~~~~~
6
+ * Add `UniqueConstraint` support for uniqueness validation (Sage Abdullah)
7
+ * Remove `pytz` dependency (Sage Abdullah)
8
+ * Added Django 5.1 and Python 3.13 support
9
+ * Removed Django 3.2 and Python 3.8 support
10
+
4
11
  6.3 (26.02.2024)
5
12
  ~~~~~~~~~~~~~~~~
6
13
  * Support filtering with Q objects (Shohan Dutta Roy)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: django-modelcluster
3
- Version: 6.3
3
+ Version: 6.4
4
4
  Summary: Django extension to allow working with 'clusters' of models as a single unit, independently of the database
5
5
  Home-page: https://github.com/wagtail/django-modelcluster
6
6
  Author: Matthew Westcott
@@ -13,14 +13,14 @@ Classifier: License :: OSI Approved :: BSD License
13
13
  Classifier: Operating System :: OS Independent
14
14
  Classifier: Programming Language :: Python
15
15
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.8
17
16
  Classifier: Programming Language :: Python :: 3.9
18
17
  Classifier: Programming Language :: Python :: 3.10
19
18
  Classifier: Programming Language :: Python :: 3.11
20
19
  Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
21
  Classifier: Programming Language :: Python :: 3 :: Only
22
22
  Classifier: Framework :: Django
23
- Requires-Python: >=3.8
23
+ Requires-Python: >=3.9
24
24
  Provides-Extra: taggit
25
25
  License-File: LICENSE
26
26
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: django-modelcluster
3
- Version: 6.3
3
+ Version: 6.4
4
4
  Summary: Django extension to allow working with 'clusters' of models as a single unit, independently of the database
5
5
  Home-page: https://github.com/wagtail/django-modelcluster
6
6
  Author: Matthew Westcott
@@ -13,14 +13,14 @@ Classifier: License :: OSI Approved :: BSD License
13
13
  Classifier: Operating System :: OS Independent
14
14
  Classifier: Programming Language :: Python
15
15
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.8
17
16
  Classifier: Programming Language :: Python :: 3.9
18
17
  Classifier: Programming Language :: Python :: 3.10
19
18
  Classifier: Programming Language :: Python :: 3.11
20
19
  Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
21
  Classifier: Programming Language :: Python :: 3 :: Only
22
22
  Classifier: Framework :: Django
23
- Requires-Python: >=3.8
23
+ Requires-Python: >=3.9
24
24
  Provides-Extra: taggit
25
25
  License-File: LICENSE
26
26
 
@@ -1,5 +1,4 @@
1
- pytz>=2022.4
2
- django>=3.2
1
+ django>=4.2
3
2
 
4
3
  [taggit]
5
4
  django-taggit>=3.1
@@ -134,7 +134,9 @@ class BaseChildFormSet(BaseTransientModelFormSet):
134
134
  forms_to_delete = self.deleted_forms
135
135
  valid_forms = [form for form in self.forms if form.is_valid() and form not in forms_to_delete]
136
136
  for form in valid_forms:
137
- unique_checks, date_checks = form.instance._get_unique_checks()
137
+ unique_checks, date_checks = form.instance._get_unique_checks(
138
+ include_meta_constraints=True
139
+ )
138
140
  all_unique_checks.update(unique_checks)
139
141
  all_date_checks.update(date_checks)
140
142
 
@@ -7,7 +7,7 @@ except ImportError:
7
7
 
8
8
  setup(
9
9
  name='django-modelcluster',
10
- version='6.3',
10
+ version='6.4',
11
11
  description="Django extension to allow working with 'clusters' of models as a single unit, independently of the database",
12
12
  author='Matthew Westcott',
13
13
  author_email='matthew.westcott@torchbox.com',
@@ -15,10 +15,9 @@ setup(
15
15
  packages=find_packages(exclude=('tests*',)),
16
16
  license='BSD',
17
17
  long_description=open('README.rst').read(),
18
- python_requires=">=3.8",
18
+ python_requires=">=3.9",
19
19
  install_requires=[
20
- "pytz>=2022.4",
21
- "django>=3.2",
20
+ "django>=4.2",
22
21
  ],
23
22
  extras_require={
24
23
  'taggit': ['django-taggit>=3.1'],
@@ -31,11 +30,11 @@ setup(
31
30
  'Operating System :: OS Independent',
32
31
  'Programming Language :: Python',
33
32
  'Programming Language :: Python :: 3',
34
- 'Programming Language :: Python :: 3.8',
35
33
  'Programming Language :: Python :: 3.9',
36
34
  'Programming Language :: Python :: 3.10',
37
35
  'Programming Language :: Python :: 3.11',
38
36
  'Programming Language :: Python :: 3.12',
37
+ 'Programming Language :: Python :: 3.13',
39
38
  'Programming Language :: Python :: 3 :: Only',
40
39
  'Framework :: Django',
41
40
  ],