Skip to content

Commit 6f9898f

Browse files
committed
wip
1 parent a6ed332 commit 6f9898f

File tree

3 files changed

+11
-45
lines changed

3 files changed

+11
-45
lines changed

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,3 @@ follow_imports = "silent"
100100
ignore_missing_imports = true
101101
scripts_are_modules = true
102102
check_untyped_defs = true
103-
104-
[tool.uv.sources]
105-
fakeredis = { path = "../fakeredis" }

scheduler/admin/task_admin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from django.contrib import admin, messages
44
from django.contrib.contenttypes.admin import GenericStackedInline
55
from django.db.models import QuerySet
6-
from django.http import HttpRequest
6+
from django.http import HttpRequest, HttpResponse
77
from django.utils import timezone, formats
88
from django.utils.translation import gettext_lazy as _
99

@@ -137,7 +137,7 @@ def task_schedule(self, o: Task) -> str:
137137
def next_run(self, o: Task) -> str:
138138
return get_next_cron_time(o.cron_string)
139139

140-
def change_view(self, request: HttpRequest, object_id, form_url="", extra_context=None):
140+
def change_view(self, request: HttpRequest, object_id, form_url="", extra_context=None) -> HttpResponse:
141141
extra = extra_context or {}
142142
obj = self.get_object(request, object_id)
143143
try:

uv.lock

Lines changed: 9 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)