django-cfg 1.4.114__py3-none-any.whl → 1.4.116__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.

Potentially problematic release.


This version of django-cfg might be problematic. Click here for more details.

django_cfg/__init__.py CHANGED
@@ -32,7 +32,7 @@ Example:
32
32
  default_app_config = "django_cfg.apps.DjangoCfgConfig"
33
33
 
34
34
  # Version information
35
- __version__ = "1.4.114"
35
+ __version__ = "1.4.116"
36
36
  __license__ = "MIT"
37
37
 
38
38
  # Import registry for organized lazy loading
@@ -204,6 +204,9 @@ class DjangoQ2ScheduleConfig(BaseModel):
204
204
  Returns:
205
205
  Dictionary for ORM.create() or schedule creation
206
206
  """
207
+ from django.utils import timezone
208
+ from datetime import timedelta
209
+
207
210
  # Map our schedule types to Django-Q2 constants
208
211
  type_mapping = {
209
212
  "once": "O",
@@ -220,13 +223,15 @@ class DjangoQ2ScheduleConfig(BaseModel):
220
223
  "name": self.name,
221
224
  "func": self.func,
222
225
  "schedule_type": type_mapping.get(self.schedule_type, self.schedule_type.upper()),
226
+ # Set next_run to NOW + 10 seconds for immediate execution on qcluster start
227
+ "next_run": timezone.now() + timedelta(seconds=10),
223
228
  }
224
229
 
225
230
  if self.args:
226
- config["args"] = str(self.args)
231
+ config["args"] = self.args
227
232
 
228
233
  if self.kwargs:
229
- config["kwargs"] = str(self.kwargs)
234
+ config["kwargs"] = self.kwargs
230
235
 
231
236
  if self.schedule_type == "cron" and self.cron:
232
237
  config["cron"] = self.cron
django_cfg/pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "django-cfg"
7
- version = "1.4.114"
7
+ version = "1.4.116"
8
8
  description = "Modern Django framework with type-safe Pydantic v2 configuration, Next.js admin integration, real-time WebSockets, and 8 enterprise apps. Replace settings.py with validated models, 90% less code. Production-ready with AI agents, auto-generated TypeScript clients, and zero-config features."
9
9
  readme = "README.md"
10
10
  keywords = [ "django", "configuration", "pydantic", "settings", "type-safety", "pydantic-settings", "django-environ", "startup-validation", "ide-autocomplete", "nextjs-admin", "react-admin", "websocket", "centrifugo", "real-time", "typescript-generation", "ai-agents", "enterprise-django", "django-settings", "type-safe-config", "modern-django",]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: django-cfg
3
- Version: 1.4.114
3
+ Version: 1.4.116
4
4
  Summary: Modern Django framework with type-safe Pydantic v2 configuration, Next.js admin integration, real-time WebSockets, and 8 enterprise apps. Replace settings.py with validated models, 90% less code. Production-ready with AI agents, auto-generated TypeScript clients, and zero-config features.
5
5
  Project-URL: Homepage, https://djangocfg.com
6
6
  Project-URL: Documentation, https://djangocfg.com
@@ -1,5 +1,5 @@
1
1
  django_cfg/README.md,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- django_cfg/__init__.py,sha256=MWuXwRHUZtVt1_3qryh_271FF5bBx2dxkXP91uVtiok,1621
2
+ django_cfg/__init__.py,sha256=VjUKa-UkRhqtS8kLxuPfw_FU4oZcZs2iROAdAHf1Rpw,1621
3
3
  django_cfg/apps.py,sha256=72m3uuvyqGiLx6gOfE-BD3P61jddCCERuBOYpxTX518,1605
4
4
  django_cfg/config.py,sha256=xdwFE8bocOEnMjqDOwr1_M02oUgdaMG_2M6F_IuB9GQ,1351
5
5
  django_cfg/apps/__init__.py,sha256=JtDmEYt1OcleWM2ZaeX0LKDnRQzPOavfaXBWG4ECB5Q,26
@@ -644,7 +644,7 @@ django_cfg/models/django/__init__.py,sha256=J4VRl77vgXzfKcdUcX-sPxpBSOJ4qA-8RstP
644
644
  django_cfg/models/django/axes.py,sha256=-4nk2gSfpj7lNY5vnm_2jHVLz8VAKoEd9yF2TuCR8O8,5624
645
645
  django_cfg/models/django/constance.py,sha256=6x57bi40mDX0fKcKeQKgV2BO3WIVYPQllAchWsj4KvM,8847
646
646
  django_cfg/models/django/crypto_fields.py,sha256=OguITidM4Mp564p_gbsokeNCZxjL9hrK1Vw0McuA3yo,4700
647
- django_cfg/models/django/django_q2.py,sha256=9i-ogZJ24YZJ9Xf0CoLs_tvg9FkYhrZoOd4KurDwYnY,14378
647
+ django_cfg/models/django/django_q2.py,sha256=V7ZAFLH--mIKyV3gPTF_7L9CX37VtO-dPPV69xUJ0_A,14603
648
648
  django_cfg/models/django/environment.py,sha256=lBCHBs1lphv9tlu1BCTfLZeH_kUame0p66A_BIjBY7M,9440
649
649
  django_cfg/models/django/openapi.py,sha256=avE3iapaCj8eyOqVUum_v2EExR3V-hwHrexqtXMHtTQ,3739
650
650
  django_cfg/models/django/revolution_legacy.py,sha256=Z4SPUS7QSv62EuPAeFFoXGEgqLmdXnVEr7Ofk1IDtVc,8918
@@ -1060,9 +1060,9 @@ django_cfg/utils/version_check.py,sha256=WO51J2m2e-wVqWCRwbultEwu3q1lQasV67Mw2aa
1060
1060
  django_cfg/CHANGELOG.md,sha256=jtT3EprqEJkqSUh7IraP73vQ8PmKUMdRtznQsEnqDZk,2052
1061
1061
  django_cfg/CONTRIBUTING.md,sha256=DU2kyQ6PU0Z24ob7O_OqKWEYHcZmJDgzw-lQCmu6uBg,3041
1062
1062
  django_cfg/LICENSE,sha256=xHuytiUkSZCRG3N11nk1X6q1_EGQtv6aL5O9cqNRhKE,1071
1063
- django_cfg/pyproject.toml,sha256=kAwzl-dSNGJtDEsF7j8PufTqwQrVq1eMy4zCLm9zf_M,8681
1064
- django_cfg-1.4.114.dist-info/METADATA,sha256=a8yk0DiKdgIIOHcPGyVpXxyPVvv-El4ju0Hp1t_55Qw,23904
1065
- django_cfg-1.4.114.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1066
- django_cfg-1.4.114.dist-info/entry_points.txt,sha256=Ucmde4Z2wEzgb4AggxxZ0zaYDb9HpyE5blM3uJ0_VNg,56
1067
- django_cfg-1.4.114.dist-info/licenses/LICENSE,sha256=xHuytiUkSZCRG3N11nk1X6q1_EGQtv6aL5O9cqNRhKE,1071
1068
- django_cfg-1.4.114.dist-info/RECORD,,
1063
+ django_cfg/pyproject.toml,sha256=Vv_lPhotJkxdxCLLuakCv3fqtVaNAphaDGlBCZfKC6E,8681
1064
+ django_cfg-1.4.116.dist-info/METADATA,sha256=C9rS3UioDUUIsR7fWK88wTp1xUUNpeQZqhnZ4ffY4rI,23904
1065
+ django_cfg-1.4.116.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1066
+ django_cfg-1.4.116.dist-info/entry_points.txt,sha256=Ucmde4Z2wEzgb4AggxxZ0zaYDb9HpyE5blM3uJ0_VNg,56
1067
+ django_cfg-1.4.116.dist-info/licenses/LICENSE,sha256=xHuytiUkSZCRG3N11nk1X6q1_EGQtv6aL5O9cqNRhKE,1071
1068
+ django_cfg-1.4.116.dist-info/RECORD,,