django-cfg 1.1.76__py3-none-any.whl → 1.1.77__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.
- django_cfg/__init__.py +1 -1
- django_cfg/modules/django_llm/llm/models_cache.py +2 -1
- {django_cfg-1.1.76.dist-info → django_cfg-1.1.77.dist-info}/METADATA +1 -1
- {django_cfg-1.1.76.dist-info → django_cfg-1.1.77.dist-info}/RECORD +7 -7
- {django_cfg-1.1.76.dist-info → django_cfg-1.1.77.dist-info}/WHEEL +0 -0
- {django_cfg-1.1.76.dist-info → django_cfg-1.1.77.dist-info}/entry_points.txt +0 -0
- {django_cfg-1.1.76.dist-info → django_cfg-1.1.77.dist-info}/licenses/LICENSE +0 -0
django_cfg/__init__.py
CHANGED
@@ -38,7 +38,7 @@ default_app_config = "django_cfg.apps.DjangoCfgConfig"
|
|
38
38
|
from typing import TYPE_CHECKING
|
39
39
|
|
40
40
|
# Version information
|
41
|
-
__version__ = "1.1.
|
41
|
+
__version__ = "1.1.77"
|
42
42
|
__author__ = "Unrealos Team"
|
43
43
|
__email__ = "info@unrealos.com"
|
44
44
|
__license__ = "MIT"
|
@@ -70,7 +70,8 @@ class ModelsCache:
|
|
70
70
|
from django.conf import settings
|
71
71
|
if hasattr(settings, 'CACHES') and 'default' in settings.CACHES:
|
72
72
|
cache_location = settings.CACHES['default'].get('LOCATION')
|
73
|
-
if
|
73
|
+
# Only use cache_location if it's a file path, not a Redis URL
|
74
|
+
if cache_location and not cache_location.startswith(('redis://', 'rediss://')):
|
74
75
|
self.cache_dir = Path(cache_location) / "django_llm"
|
75
76
|
else:
|
76
77
|
self.cache_dir = Path.cwd() / "cache" / "django_llm"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: django-cfg
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.77
|
4
4
|
Summary: 🚀 Production-ready Django configuration framework with type-safe settings, smart automation, and modern developer experience
|
5
5
|
Project-URL: Homepage, https://github.com/markolofsen/django-cfg
|
6
6
|
Project-URL: Documentation, https://django-cfg.readthedocs.io
|
@@ -1,5 +1,5 @@
|
|
1
1
|
django_cfg/README.md,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
django_cfg/__init__.py,sha256=
|
2
|
+
django_cfg/__init__.py,sha256=OCsVk7qkjeX4hsDgPEvFJT8f1SzWHFgyBsuIi4vBpWU,14288
|
3
3
|
django_cfg/apps.py,sha256=k84brkeXJI7EgKZLEpTkM9YFZofKI4PzhFOn1cl9Msc,1656
|
4
4
|
django_cfg/exceptions.py,sha256=RTQEoU3PfR8lqqNNv5ayd_HY2yJLs3eioqUy8VM6AG4,10378
|
5
5
|
django_cfg/integration.py,sha256=jUO-uZXLmBXy9iugqgsl_xnYA_xoH3LZg5RxZbobVrc,4988
|
@@ -219,7 +219,7 @@ django_cfg/modules/django_llm/llm/client.py,sha256=MLAboZIGB0MFclvTtKZx1sVEVCmCu
|
|
219
219
|
django_cfg/modules/django_llm/llm/costs.py,sha256=1L5YTlIIJTWmY0_jKC8sEMZs1YRMDeStz-r-BpyZ2Vo,7490
|
220
220
|
django_cfg/modules/django_llm/llm/extractor.py,sha256=6LCq3IZUO5zKefwNEQ4EkszLGLGEA_YFLvAUPoRBdMc,2694
|
221
221
|
django_cfg/modules/django_llm/llm/models.py,sha256=6MxlRp2ll09mbSZrG6kNH6W_NZcLn_zHJ7d8YWAk1Ac,5529
|
222
|
-
django_cfg/modules/django_llm/llm/models_cache.py,sha256=
|
222
|
+
django_cfg/modules/django_llm/llm/models_cache.py,sha256=HjnrikmqpaM9UguaAEE7SCXlPXYsw2Qj4bKYjUHF0Zk,20819
|
223
223
|
django_cfg/modules/django_llm/llm/tokenizer.py,sha256=MMrb34Xl1u0yMUGQ4TRW40fP4NWbnOuwjBKkoOswu9g,2678
|
224
224
|
django_cfg/modules/django_llm/translator/__init__.py,sha256=_gMsHBWEfiTFQvTk4UsHcXCyQBf2ilF82ISFRBbRBSU,247
|
225
225
|
django_cfg/modules/django_llm/translator/cache.py,sha256=m1x_VzbkKv2S7rFS6rL8v3p26ur2YnkTPsXvA7JboNY,6305
|
@@ -265,8 +265,8 @@ django_cfg/templates/emails/base_email.html,sha256=TWcvYa2IHShlF_E8jf1bWZStRO0v8
|
|
265
265
|
django_cfg/utils/__init__.py,sha256=64wwXJuXytvwt8Ze_erSR2HmV07nGWJ6DV5wloRBvYE,435
|
266
266
|
django_cfg/utils/path_resolution.py,sha256=eML-6-RIGTs5TePktIQN8nxfDUEFJ3JA0AzWBcihAbs,13894
|
267
267
|
django_cfg/utils/smart_defaults.py,sha256=-qaoiOQ1HKDOzwK2uxoNlmrOX6l8zgGlVPgqtdj3y4g,22319
|
268
|
-
django_cfg-1.1.
|
269
|
-
django_cfg-1.1.
|
270
|
-
django_cfg-1.1.
|
271
|
-
django_cfg-1.1.
|
272
|
-
django_cfg-1.1.
|
268
|
+
django_cfg-1.1.77.dist-info/METADATA,sha256=OPGpVFREbpTyiNho7I1j828EfYzK5IUWozpLSgQx4U8,45783
|
269
|
+
django_cfg-1.1.77.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
270
|
+
django_cfg-1.1.77.dist-info/entry_points.txt,sha256=Ucmde4Z2wEzgb4AggxxZ0zaYDb9HpyE5blM3uJ0_VNg,56
|
271
|
+
django_cfg-1.1.77.dist-info/licenses/LICENSE,sha256=xHuytiUkSZCRG3N11nk1X6q1_EGQtv6aL5O9cqNRhKE,1071
|
272
|
+
django_cfg-1.1.77.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|