django-ormcache 1.3__tar.gz → 1.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.
- {django_ormcache-1.3/django_ormcache.egg-info → django_ormcache-1.4}/PKG-INFO +20 -5
- {django_ormcache-1.3 → django_ormcache-1.4/django_ormcache.egg-info}/PKG-INFO +20 -5
- {django_ormcache-1.3 → django_ormcache-1.4}/django_ormcache.egg-info/SOURCES.txt +4 -1
- {django_ormcache-1.3 → django_ormcache-1.4}/django_ormcache.egg-info/requires.txt +1 -1
- django_ormcache-1.4/django_ormcache.egg-info/top_level.txt +2 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/setup.cfg +0 -3
- {django_ormcache-1.3 → django_ormcache-1.4}/setup.py +4 -5
- django_ormcache-1.4/tests/testapp/__init__.py +0 -0
- django_ormcache-1.4/tests/testapp/managers.py +9 -0
- django_ormcache-1.4/tests/testapp/models.py +45 -0
- django_ormcache-1.3/django_ormcache.egg-info/top_level.txt +0 -1
- {django_ormcache-1.3 → django_ormcache-1.4}/LICENSE +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/MANIFEST.in +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/README.md +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/django_ormcache.egg-info/dependency_links.txt +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/ormcache/__init__.py +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/ormcache/decorators.py +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/ormcache/managers.py +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/ormcache/models.py +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/ormcache/queryset.py +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/ormcache/signals.py +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/ormcache/utils.py +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/pyproject.toml +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/tests/test_decorators.py +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/tests/test_managers.py +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/tests/test_queryset.py +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/tests/test_signals.py +0 -0
- {django_ormcache-1.3 → django_ormcache-1.4}/tests/test_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: django-ormcache
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4
|
|
4
4
|
Summary: ORM cache for Django
|
|
5
5
|
Home-page: https://github.com/educreations/django-ormcache
|
|
6
6
|
Author: Corey Farwell
|
|
@@ -14,21 +14,36 @@ Project-URL: Changelog, https://github.com/educreations/django-ormcache/blob/mas
|
|
|
14
14
|
Keywords: cache django
|
|
15
15
|
Classifier: Framework :: Django
|
|
16
16
|
Classifier: Intended Audience :: Developers
|
|
17
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
18
17
|
Classifier: Operating System :: OS Independent
|
|
19
18
|
Classifier: Programming Language :: Python
|
|
20
19
|
Classifier: Programming Language :: Python :: 3
|
|
21
20
|
Classifier: Topic :: Software Development
|
|
22
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.8, <3.13
|
|
23
22
|
Description-Content-Type: text/markdown
|
|
24
23
|
License-File: LICENSE
|
|
25
|
-
Requires-Dist: Django<
|
|
24
|
+
Requires-Dist: Django<6.0,>=4.2
|
|
26
25
|
Requires-Dist: six
|
|
27
26
|
Provides-Extra: test
|
|
28
27
|
Requires-Dist: tox; extra == "test"
|
|
29
28
|
Requires-Dist: pytest; extra == "test"
|
|
30
29
|
Requires-Dist: pytest-django; extra == "test"
|
|
31
30
|
Requires-Dist: flake8; extra == "test"
|
|
31
|
+
Dynamic: author
|
|
32
|
+
Dynamic: author-email
|
|
33
|
+
Dynamic: classifier
|
|
34
|
+
Dynamic: description
|
|
35
|
+
Dynamic: description-content-type
|
|
36
|
+
Dynamic: home-page
|
|
37
|
+
Dynamic: keywords
|
|
38
|
+
Dynamic: license
|
|
39
|
+
Dynamic: license-file
|
|
40
|
+
Dynamic: maintainer
|
|
41
|
+
Dynamic: maintainer-email
|
|
42
|
+
Dynamic: project-url
|
|
43
|
+
Dynamic: provides-extra
|
|
44
|
+
Dynamic: requires-dist
|
|
45
|
+
Dynamic: requires-python
|
|
46
|
+
Dynamic: summary
|
|
32
47
|
|
|
33
48
|
# Django ORMCache
|
|
34
49
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: django-ormcache
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4
|
|
4
4
|
Summary: ORM cache for Django
|
|
5
5
|
Home-page: https://github.com/educreations/django-ormcache
|
|
6
6
|
Author: Corey Farwell
|
|
@@ -14,21 +14,36 @@ Project-URL: Changelog, https://github.com/educreations/django-ormcache/blob/mas
|
|
|
14
14
|
Keywords: cache django
|
|
15
15
|
Classifier: Framework :: Django
|
|
16
16
|
Classifier: Intended Audience :: Developers
|
|
17
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
18
17
|
Classifier: Operating System :: OS Independent
|
|
19
18
|
Classifier: Programming Language :: Python
|
|
20
19
|
Classifier: Programming Language :: Python :: 3
|
|
21
20
|
Classifier: Topic :: Software Development
|
|
22
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.8, <3.13
|
|
23
22
|
Description-Content-Type: text/markdown
|
|
24
23
|
License-File: LICENSE
|
|
25
|
-
Requires-Dist: Django<
|
|
24
|
+
Requires-Dist: Django<6.0,>=4.2
|
|
26
25
|
Requires-Dist: six
|
|
27
26
|
Provides-Extra: test
|
|
28
27
|
Requires-Dist: tox; extra == "test"
|
|
29
28
|
Requires-Dist: pytest; extra == "test"
|
|
30
29
|
Requires-Dist: pytest-django; extra == "test"
|
|
31
30
|
Requires-Dist: flake8; extra == "test"
|
|
31
|
+
Dynamic: author
|
|
32
|
+
Dynamic: author-email
|
|
33
|
+
Dynamic: classifier
|
|
34
|
+
Dynamic: description
|
|
35
|
+
Dynamic: description-content-type
|
|
36
|
+
Dynamic: home-page
|
|
37
|
+
Dynamic: keywords
|
|
38
|
+
Dynamic: license
|
|
39
|
+
Dynamic: license-file
|
|
40
|
+
Dynamic: maintainer
|
|
41
|
+
Dynamic: maintainer-email
|
|
42
|
+
Dynamic: project-url
|
|
43
|
+
Dynamic: provides-extra
|
|
44
|
+
Dynamic: requires-dist
|
|
45
|
+
Dynamic: requires-python
|
|
46
|
+
Dynamic: summary
|
|
32
47
|
|
|
33
48
|
# Django ORMCache
|
|
34
49
|
|
|
@@ -5,7 +5,7 @@ readme_text = open("README.md", "r").read()
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="django-ormcache",
|
|
8
|
-
version="1.
|
|
8
|
+
version="1.4",
|
|
9
9
|
description="ORM cache for Django",
|
|
10
10
|
license="MIT",
|
|
11
11
|
keywords="cache django",
|
|
@@ -16,14 +16,13 @@ setup(
|
|
|
16
16
|
url="https://github.com/educreations/django-ormcache",
|
|
17
17
|
long_description=readme_text,
|
|
18
18
|
long_description_content_type="text/markdown",
|
|
19
|
-
packages=find_packages(
|
|
19
|
+
packages=find_packages(exclude=["tests"]),
|
|
20
20
|
package_dir={"ormcache": "ormcache"},
|
|
21
|
-
python_requires=">=3.
|
|
22
|
-
install_requires=["Django>=2
|
|
21
|
+
python_requires=">=3.8, <3.13",
|
|
22
|
+
install_requires=["Django>=4.2,<6.0", "six"],
|
|
23
23
|
classifiers=[
|
|
24
24
|
"Framework :: Django",
|
|
25
25
|
"Intended Audience :: Developers",
|
|
26
|
-
"License :: OSI Approved :: MIT License",
|
|
27
26
|
"Operating System :: OS Independent",
|
|
28
27
|
"Programming Language :: Python",
|
|
29
28
|
"Programming Language :: Python :: 3",
|
|
File without changes
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import django
|
|
2
|
+
from django.db import models
|
|
3
|
+
|
|
4
|
+
from tests.testapp.managers import DummyManager
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class CachedDummyModel(models.Model):
|
|
8
|
+
cache_enabled = True
|
|
9
|
+
|
|
10
|
+
title = models.CharField(max_length=50)
|
|
11
|
+
summary = models.CharField(max_length=400)
|
|
12
|
+
|
|
13
|
+
related = models.ForeignKey(
|
|
14
|
+
"OtherCachedDummyModel", null=True, on_delete=models.SET_NULL
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
objects = DummyManager()
|
|
18
|
+
|
|
19
|
+
class Meta(object):
|
|
20
|
+
if django.VERSION >= (1, 10):
|
|
21
|
+
base_manager_name = "objects"
|
|
22
|
+
default_manager_name = "objects"
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class OtherCachedDummyModel(models.Model):
|
|
26
|
+
cache_enabled = True
|
|
27
|
+
|
|
28
|
+
objects = DummyManager()
|
|
29
|
+
|
|
30
|
+
class Meta(object):
|
|
31
|
+
if django.VERSION >= (1, 10):
|
|
32
|
+
base_manager_name = "objects"
|
|
33
|
+
default_manager_name = "objects"
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class UncachedDummyModel(models.Model):
|
|
37
|
+
title = models.CharField(max_length=50)
|
|
38
|
+
summary = models.CharField(max_length=400)
|
|
39
|
+
|
|
40
|
+
objects = DummyManager()
|
|
41
|
+
|
|
42
|
+
class Meta(object):
|
|
43
|
+
if django.VERSION >= (1, 10):
|
|
44
|
+
base_manager_name = "objects"
|
|
45
|
+
default_manager_name = "objects"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|